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

Access parent schema in test #551

Closed
akmjenkins opened this issue Jun 16, 2019 · 0 comments · Fixed by #556
Closed

Access parent schema in test #551

akmjenkins opened this issue Jun 16, 2019 · 0 comments · Fixed by #556

Comments

@akmjenkins
Copy link
Contributor

akmjenkins commented Jun 16, 2019

It's easy enough to get the parent object in a custom test, but is there any way to get the parent schema? I have a use case where it would be useful to be able to reach into the parent schema. Just wondering if it's exposable, I tried to read through src/mixed.js but was unsuccessful at determining if it could be exposed.

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