-
-
Notifications
You must be signed in to change notification settings - Fork 877
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
resolve references before validating the discriminator #1815
Conversation
Great - added some comments, it’s quite a common request. please also update the docs to mention that single $refs (that is, without siblings) are now supported as well. |
CI runs a bit more combinations of options than run locally by default, it uses: AJV_FULL_TEST=true npm test Maybe that’s the difference? See the test output in CI. |
So you can try locally with the same env variable |
Thanks for the change, it definitely improves the usability of discriminator - only supporting inlined schema was an annoying restriction... There couple of comments I wanted to amend - let me know if it's ok I do it? |
Sure, feel free. |
fixes #1554
What issue does this pull request resolve?
What changes did you make?
Is there anything that requires more attention while reviewing?