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

Fix subclass schema validation #49

Merged
merged 1 commit into from
Feb 21, 2018

Conversation

jeremyruppel
Copy link
Contributor

Currently, when trying to subclass a structure, the subclass does not receive a validate() method since the schemas are combined after the non-enumerable validate method is assigned to the subclass schema. This corrects the order of the two so that the schemas are combined first and then normalized afterwards.

Fixes #48.

@talyssonoc talyssonoc merged commit c7169c3 into talyssonoc:master Feb 21, 2018
@talyssonoc
Copy link
Owner

Thanks for the contribution @jeremyruppel! I just released v1.2.2 😄

@jeremyruppel jeremyruppel deleted the subclass-validate branch February 23, 2018 23:37
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

Successfully merging this pull request may close these issues.

2 participants