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

Not possible to validate a schema through $ref #110

Open
cch1 opened this issue Jul 25, 2014 · 6 comments
Open

Not possible to validate a schema through $ref #110

cch1 opened this issue Jul 25, 2014 · 6 comments
Assignees
Labels

Comments

@cch1
Copy link

cch1 commented Jul 25, 2014

[version 2.2.5]
Schema validation does not dereference $ref elements and validate targets. At a minimum, identification of inexistant references would be nice.

@mjhoffman65
Copy link

+1

@luisobo
Copy link

luisobo commented Oct 29, 2014

@fge any thoughts on this? Thank you.

@fge
Copy link
Collaborator

fge commented Oct 29, 2014

Reference resolution is done at validation time right now. This is an implementation choice, and one which you are not the only ones to complain about ;)

This choice was made because dereferencing may, or may not, succeed; or worse, it may lead to different schemas depending on the moment you dereference. But I guess this is too much procrastination...

I'll try and see whether at this point schema inlining can be inserted in 2.2.x or whether the target will be 3.x.

@fge fge added the feature label Oct 29, 2014
@fge fge self-assigned this Oct 29, 2014
@luisobo
Copy link

luisobo commented Oct 29, 2014

Thanks for the update @fge

@shrinidhijoshi
Copy link

Is this issue still open ? I can take a shot at it.

@johnboyer
Copy link

@fge This has been an open issue for more than six years. Has dereferencing support been added yet? It doesn't appear to be working 1.0.44.

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

6 participants