sebastianwessel / surrealdb-client-generator

Tool which generates a typescript client for SurrealDB and zod schema of a given database
MIT License
76 stars 12 forks source link

Reorder optional and passthrough #38

Closed hammo92 closed 3 months ago

hammo92 commented 3 months ago

optional should come after passthrough in zod definition z.object({}).optional().passthrough() -> z.object({}).passthrough().optional()