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

Remove support for generators of validators #74

Closed
sloria opened this Issue Dec 4, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@sloria
Member

sloria commented Dec 4, 2014

Currently, a Field can able to receive a generator of callables for its validate argument. Talk about overengineering! I have yet to find a case where this might be useful; it only adds complexity and unnecessary type checking.

I propose to remove support for validator generators and only support lists or tuples of validators.

This is a breaking change, so this will be in the 2.0 release.

@sloria sloria added this to the 2.0 milestone Dec 4, 2014

@sloria sloria closed this in a43ebf4 Jan 4, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment