Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[validate] Flag to treat warnings as errors or a validator configuration file #413

Open
Vilsol opened this issue Sep 8, 2024 · 0 comments

Comments

@Vilsol
Copy link

Vilsol commented Sep 8, 2024

Currently the validator spits out warnings, but there is no way to treat them as a failure, as the command then exits with a 0 exit code.

It would be extremely useful if there was either a flag to treat warnings as errors, or to have a custom configuration file which would specify what validator rules should count as failures.

There is also a confusing example in the playground. The "Google IAM in SpiceDB" example shows that you should point a permission to a relation, but your own validator spits this out that it's a warning, and you should point to a permission instead?

(continued from https://canary.discord.com/channels/844600078504951838/844600078948630559/1282142088061911131)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant