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

decorator feature @<field>.validator(...) #9

Closed
smarie opened this issue Sep 25, 2019 · 1 comment
Closed

decorator feature @<field>.validator(...) #9

smarie opened this issue Sep 25, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@smarie
Copy link
Owner

smarie commented Sep 25, 2019

@<field>.validator(...) decorator.

Can be specified at the same time than validators arg, in which case they are combined

The error message and/or failure type is the argument of the decorator: @<field_name>.validator(<error message>)

See also @valid8.as_failure_raiser.

@smarie smarie added the enhancement New feature or request label Sep 25, 2019
@smarie
Copy link
Owner Author

smarie commented Sep 25, 2019

relates to #1

@smarie smarie closed this as completed in 4cbc647 Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant