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

[Feature Request] Support self reference using definitions #35

Closed
gilles-yvetot opened this issue Nov 6, 2021 · 1 comment
Closed

Comments

@gilles-yvetot
Copy link

Amazing job on this plugin @DScheglov
I have a schema that reference itself. Kind like a tree. Your plugin add a $ref that point to an $id but ajv does not understand.

Do you think adding a definition would be possible? If yes, and you need help, maybe you could point me in the right direction to help you out.

@gilles-yvetot
Copy link
Author

So the actual issue was that the key id needed to be $id so after converting the schema I am replacing id with $id

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