Skip to content

1.0.3 - RM JSON/YAML/ODIN Serialization bugfix

Compare
Choose a tag to compare
@pieterbos pieterbos released this 29 Jul 09:33
· 451 commits to master since this release
8e023d2

The json serialization had a problem where ObjectRefs were not correctly serialized, because the id field did not have a "_type" property in the resulting json, odin or yaml. The consequence is that they could no longer be parsed after that. This release fixes that problem.

Note that this has been fixed by changing ObjectRef<?> into ObjectRef<? extends ObjectId>, and that this can mean a minor breaking change in your code. This is still a patch release, as not upgrading if you are using this is is probably not an option.