Replies: 2 comments 1 reply
-
(Using a registry by passing it to a validator is not unstable, what's marked unstable is that there's a specific known change which needs to eventually be made to dynamic retrieval callables. If you're not dynamically retrieving schemas, it won't affect you, and that change would be made with deprecation warnings anyhow, given referencing has been out for a few years now.)
Not only is it deprecated, it's been known to be functionally broken for many years, hence writing the replacement! So the recommendation is definitely to use |
Beta Was this translation helpful? Give feedback.
-
This sounds like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I want to integrate
jsonschema
in the application I'm working on. It's a widely-used desktop application, and so I do not want it to show deprecation warnings on the console. This means that ideally I wouldn't usejsonschema.RefResolver
(deprecated since 238e711), but rather use the new referencing package. However, the latter is still in beta, and its API is explicitly documented as not stable.The current release of
jsonschema
seems to addreferencing
as a mandatory dependency. Inclusion of beta-stage packages in a package marked "Production/Stable" seems dubious.What is the recommended approach, in cases where depending on beta-stage software is not desirable? It also feels dodgy to introduce a new package (jsonschema) to our application and immediately start using an API that is already marked deprecated.
Thanks for any guidance.
Beta Was this translation helpful? Give feedback.
All reactions