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

do not allow schemas with $id of "" to be persistent #71

Open
karenetheridge opened this issue Jul 2, 2022 · 0 comments
Open

do not allow schemas with $id of "" to be persistent #71

karenetheridge opened this issue Jul 2, 2022 · 0 comments

Comments

@karenetheridge
Copy link
Owner

It would be easy enough to delete the entry for "" in the resource index at the end of the evaluate() sub.
I can't forsee any strange side effects from this, as no other schema would be able to $ref to this schema anyway (if there is another, it would have an $id, and therefore any $ref it uses would be resolved against its own base and not "").

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

No branches or pull requests

1 participant