-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
Add support for garde crate as alternative to validator #233
Comments
+1 this request, validator does not support enums. |
This seems doable. Looking through the current garde attributes, I think we can respect most of them:
|
This is now implemented in schemars 1.0.0-alpha.14 Most, but not all, of the attributes I listed above are now supported - see the updated docs for a full list: https://graham.cool/schemars/deriving/attributes/#supported-validatorgarde-attributes |
Can you please consider adding support for garde as an alternative to validator? It’s better designed than validator. The reasons for starting a new project are mentioned in Keats/validator#201.
The text was updated successfully, but these errors were encountered: