Closed adithep closed 8 months ago
Needs a certain structure for json:
/// @zod.custom.use(z.object({contents: z.array(z.object({locale: z.string(), content: z.string()}))})) content Json
error:
[@zod generator error]: '.array' validator is only allowed on lists. [Error Location]: Model: 'AA', Field: 'content'.
I think we should be able to use array in json fields.
This should be fixed no in v3.0.0
v3.0.0
Needs a certain structure for json:
error:
I think we should be able to use array in json fields.