return non-zero status code when type generation is incomplete or validation fails #154
Labels
breaking
This issue introduces a breaking change that would go into a new Major version
enhancement
New feature or request
Milestone
Feature description
I have a script which generates all my types based on entries in a config file:
I have this run before all my tests:
Desired outcome
I would like errors like this one:
to cause ts-to-zod to return a non-zero status code so that the test execution stops. Instead, i get an empty or incomplete zod schema file.
The text was updated successfully, but these errors were encountered: