fiberplane / fpx

Supercharge your local development
https://fiberplane.dev
MIT License
43 stars 1 forks source link

Migrate to json schemas #90

Closed stephlow closed 1 month ago

stephlow commented 1 month ago

This PR changes the behavior of cargo xtask generate-schemas to generate JSON Schema's and their inferred types instead of Zod schemas, as unfortunately, the zod schema's didn't always work with schemas referencing other schemas.

The generated schemas also export a function that uses ajv to validate an input against the schema