Skip to content

Add round-trip test ensuring generated TypeScript/Zod/Mongoose/SQL stay in sync #6

Description

@RishiByte

Add a test that takes a schema with every supported field type (string, number, boolean, date, uuid, email, url, enum, object, array) and asserts that the four generated outputs (.types.ts, .zod.ts, .model.ts, .sql) are structurally consistent with each other (same field names, same optional/required status, same constraints) so future generator changes can't let them drift.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions