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

A Subclass' validations override the superclass' validations #33

Closed
NullVoxPopuli opened this issue Apr 23, 2016 · 1 comment
Closed
Labels

Comments

@NullVoxPopuli
Copy link

To reproduce:

on super class:

  • validate one field

on sub class:

  • validate a different field

test:

  • have an instance of the sub class
  • do something that you would expect to cause both validations to fail
  • there is only an error for the subclass's validation, and not the superclass
@esbanarango
Copy link
Owner

This shouldn't be an issue anymore with the decorator approached we introduced in version 3.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants