ropensci / jsonvalidate

:heavy_check_mark::interrobang: Validate JSON
https://docs.ropensci.org/jsonvalidate
Other
49 stars 14 forks source link

Alternative approach to compatibility #45

Closed richfitz closed 3 years ago

richfitz commented 3 years ago

This approach to backward compatibility is more complete - we no longer try and get people using ajv but instead let them know they're missing out.

The imjv validator now (again) fairly silently passes where given new json schema versions and does not read nested schemas. Packages that on CRAN which rely on that behaviour are unaffected and we can upgrade the package. Once done we should follow up with dependencies though and let them know.

I've added a bit of docs to make the situation clear

See also https://github.com/ropensci/jsonvalidate/compare/master...mrc-2476-compat for net change against master

Fixes #38