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 more core validators #20

Open
Defunctionalize opened this issue Jul 29, 2016 · 0 comments
Open

add more core validators #20

Defunctionalize opened this issue Jul 29, 2016 · 0 comments

Comments

@Defunctionalize
Copy link
Owner

There are a couple more validator types that should be added to the core functionality in order to be ready for 1.0

first one I can think of off the top of my head is:

  • support for optional keys in dictionary. the api should be something like
non_strict_map(
    {"required_key_1": expected_value_validator,
     "required_key_2": expected_value_validator,},
    optional={"optional_key_1": expected_value_validator,
              "optional_key_2": expected_value_validator}
)
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