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

More validator tests #136

Closed
urso opened this issue Jan 15, 2020 · 0 comments · Fixed by #137
Closed

More validator tests #136

urso opened this issue Jan 15, 2020 · 0 comments · Fixed by #137

Comments

@urso
Copy link

urso commented Jan 15, 2020

The validator tests check if validators for structs and custom types like int or []int work. Some more test cases we might want to add:

  • map[string]X with X being a primitive type
  • nested validation:
    • struct that is Validator with extra field that is Validator
    • slice []X with X being a Validator type
    • map[string]X with X being a Validator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants