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

Require some validation or skip #17

Merged
merged 4 commits into from
Mar 27, 2023
Merged

Require some validation or skip #17

merged 4 commits into from
Mar 27, 2023

Conversation

jprochazk
Copy link
Owner

Closes #13

Each field in a derive(Validate) type must now have at least one validation rule, or be marked #[garde(dive)]. #[garde(skip)] may be used to silence the error and opt out of validation altogether.

@jprochazk jprochazk merged commit 4e8cc6a into main Mar 27, 2023
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

Successfully merging this pull request may close these issues.

Ignore rule
1 participant