rewrite(phase3): nah nvm

This commit is contained in:
khtsly 2026-02-13 00:55:33 +07:00
parent 8b845d5412
commit d57d990256

View file

@ -1005,9 +1005,9 @@ function Schema.struct(fields: { [string]: SchemaType }): SchemaType
for k, v in fields do for k, v in fields do
table.insert(orderedFields, { key = k, schema = v }) table.insert(orderedFields, { key = k, schema = v })
end end
-- table.sort(orderedFields, function(a, b) -- i think this is optional? table.sort(orderedFields, function(a, b)
-- return a.key < b.key return a.key < b.key
-- end) end)
return { type = "struct", fields = orderedFields } return { type = "struct", fields = orderedFields }
end end