Closed
Description
Currently, we have a pretty magical JSON-LD serialization layer with several layers of indirection which is quite a challenge to maintain. To make things more maintainable and more stable I would like to have this as its own library which is properly tested and addresses all the current outstanding tickets (#548, #547).
Some, things to consider might be:
- Top-level context squashing
- Flexible way of handling/validating container types
- Schema migrations
- Attribute migrations
- Attribute validations
- Optionality of attributes
- (De) Serialization (to and from the given format)
Any draft proposals to address the current situation is more than welcome.