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

Any plans on implementing recursiveRef? #5

Open
chatoooo opened this issue Oct 20, 2021 · 6 comments
Open

Any plans on implementing recursiveRef? #5

chatoooo opened this issue Oct 20, 2021 · 6 comments

Comments

@chatoooo
Copy link

Hi, thanks for a great kotlin library.

I'm implementing tree structure in JSON so I need a recursiveRef. Do you have any plans to add the feature in a near future?

Thanks.

@pwall567
Copy link
Owner

Hi - thanks for the feedback.

For some time now I've been working on an updated version of the project to meet the Draft 2020-12 version of the JSON Schema standard. That draft includes $dynamicRef which is similar to (but subtly different from) $recursiveRef. But that work is still several weeks away from being available for public exposure, so I'm currently looking into whether I can retro-fit some parts of the work into this project.

It's good to get feedback on what missing parts of the standard are most in demand, and I guess it's no surprise that $dynamicRef or $recursiveRef is high on the list. Give me a few days, and I'll report back here whether I think it's viable to add one or both of those keywords to the current project, without having to wait for the new version.

@atuffreau-bcd
Copy link

Hello, indeed thanks for the great library.

Do you have an update on meeting Draft 2020-12 version of the JSON Schema standard and $recursiveRef feature implementation?

@pwall567
Copy link
Owner

Hi, and thanks for the compliment.

I apologise for not following up on my earlier comments - I did look into the idea of adding $recursiveRef or $dynamicRef to the current project, but I decided that It would involve a fair amount of work, and I preferred to put that effort into the new version.

The new version also includes Vocabularies, and that has necessitated a certain amount of structural change to the project. That work is progressing, but I can't promise to have anything available for public review for several weeks. Very sorry about that.

-Peter

@mstrucka
Copy link

mstrucka commented Aug 3, 2023

Hi there, could you please provide a status update on this? :)
I am getting a recursive $ref exception now and was just wondering, if the fix is near or I would have to opt for a different library...
Thanks for the great work anyway!

@pwall567
Copy link
Owner

pwall567 commented Aug 5, 2023

Hi, thanks for the supportive comments.

I'm sorry, but I can't offer a timeline on the new version just yet. I suspect it won't be available before the end of the year. Unfortunately, other things (including my day job 😄 ) keep getting in the way.

Regards,
Peter

@milux
Copy link

milux commented Aug 14, 2024

Just opened a PR that implements recursive $refs: #20
Not exactly what this issue is about, but maybe helpful for building upon?

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

5 participants