jascenc1

Results 3 issues of jascenc1

I've been attempting to use the SurrealDB Schema Generator to generate zod schemas and TypeScript clients for my SurrealDB database. While the generator works flawlessly when using the `"memory"` connection...

The surql-gen tool currently lacks support for generating Zod schemas that enforce a field's value to be within a specific set of numbers (numeric enums). This is essential for cases...

enhancement

I'm encountering an issue where the `surql-gen` tool inconsistently applies `z.enum([...])`/`z.enum([...]).optional()` in the generated zod schemas based on surrealdb defs. Specifically, in some cases, the tool correctly generates the enum...

bug