calamus icon indicating copy to clipboard operation
calamus copied to clipboard

Add a class registry

Open Panaetius opened this issue 5 years ago • 0 comments

Right now you need to specify a schema to deserialize jsonld. Ideally, we could just throw jsonld at the library and it'd figure out which schema applies by itself by looking up the type in a registry.

I wouldn't do automated adding to the registry on import like current renku-python does it, it should be done manually in code in a single place to not have to deal with things not being loaded.

Panaetius avatar May 04 '20 13:05 Panaetius