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

Move to using json_schemer gem for newer specifications #45

Closed
ttanay opened this issue Apr 11, 2021 · 2 comments
Closed

Move to using json_schemer gem for newer specifications #45

ttanay opened this issue Apr 11, 2021 · 2 comments

Comments

@ttanay
Copy link

ttanay commented Apr 11, 2021

The json-schema ruby gem doesn't newer specifications of the JSON schema, specifically draft 7 that I want to use. Draft 7 has useful features that I'd like to use along with this gem, but, it's not possible due to the JSON schema validation gem that this uses.
Also, looks like the json-schema gem is not being maintained.
Is it possible to switch to another gem like json_schemer that supports newer specifications?

Happy to take up the change if you decide to go ahead with it.

@amygurski amygurski mentioned this issue Jun 14, 2021
2 tasks
@amygurski
Copy link
Contributor

I don't know if there is interest in this, but we ran into this issue as well - our app recently started using draft 6 (previously it was just draft 4) and it broke. I started work on a PR just in case there is interest in moving forward with your lovely suggestion @ttanay : #46

@remi
Copy link
Member

remi commented Jun 17, 2021

I merged #46 and released activerecord_json_validator-2.0.0! 🎉

Thanks again Amy!

@remi remi closed this as completed Jun 17, 2021
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

3 participants