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

Add convertors/validators #27

Open
edparcell opened this issue Aug 30, 2024 · 1 comment
Open

Add convertors/validators #27

edparcell opened this issue Aug 30, 2024 · 1 comment

Comments

@edparcell
Copy link
Contributor

Attrs has two concepts we'd like to mirror:

  • Convertors, which are run when an attribute is set to force it to conform to its expected type
  • Validators, which check that an input meets its expected type/range
@edparcell
Copy link
Contributor Author

Added support for converters in dad9a63.

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