Run `crystal tool format`

This commit is contained in:
Jamie Gaskins 2024-03-10 16:00:20 -05:00
parent 47a667c2d8
commit 45d55ba473
1 changed files with 5 additions and 5 deletions

View File

@ -109,11 +109,11 @@ module DB
{% unless ann && ann[:ignore] %}
{%
properties[ivar.id] = {
type: if ivar.type.union?
"Union(#{ivar.type.union_types.map { |t| "::#{t}".id }.join(" | ").id})".id
else
"::#{ivar.type}".id
end,
type: if ivar.type.union?
"Union(#{ivar.type.union_types.map { |t| "::#{t}".id }.join(" | ").id})".id
else
"::#{ivar.type}".id
end,
key: ((ann && ann[:key]) || ivar).id.stringify,
default: ivar.default_value,
nilable: ivar.type.nilable?,