We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Replace a lot of custom schema validation with generic validators. In order of usefulness in our code:
validators.OneOf()
validators.Int()
validators.Less
validators.Greater
validators.LessThanOrEqual
validators.InRangeInclusive
validators.Deprecated()
The text was updated successfully, but these errors were encountered:
Andrew-Morozko
Successfully merging a pull request may close this issue.
Replace a lot of custom schema validation with generic validators. In order of usefulness in our code:
validators.OneOf()
validates that the value provided is one of the given valuesvalidators.Int()
checks that the number is an integervalidators.Less
,validators.Greater
,validators.LessThanOrEqual
,validators.InRangeInclusive
- self-explanatoryvalidators.Deprecated()
produces a diagnostic warning if the value is non-nullThe text was updated successfully, but these errors were encountered: