Closed joemirizio closed 3 years ago
Hi @joemirizio,
We discontinued active support of JSONSchema registries in favour of descriptor.profile = <URL>
property to simplify things.
You just need to re-shape your code to provide an URL instead of <name, registry>.
Please re-open if needed or just ask here if other help is needed
Overview
Creating a
Registry
with a custom URL is supported, but AFAIK there is no way to load aPackage
orResource
with that registry because theProfile
they create uses the defaultRegistry
.I tried extending the
Profile
class and overrode_load_registry
, but extending thePackage
andResource
classes became very difficult because most methods were name mangled.I'm not sure the best approach, but one solution would be to allow a registry to be passed to the
Package
andResource
constructors.Please preserve this line to notify @roll (lead of this repository)