-
Notifications
You must be signed in to change notification settings - Fork 345
Open
Labels
modelAbout the data modelAbout the data model
Description
The use of sorted collections has been introduced with the goal of having entries serialized in some sorted order.
This approach has the pitfall that it requires
- Model classes to implement the Comparable interface which
- brings in contractual requirements with equals, which in turn adds complexity to the actual compareTo implementation
- Tightly couples the sorting of the serializer with the model class
- Use mutable as opposed to immutable collections
- The client code to deal with sorted collections
It may be possible to arrive at the original goal without implementing Comparable interface / using sorted collection.
A concrete solution is not yet known but options need to be investigated / evaluated first.
Metadata
Metadata
Assignees
Labels
modelAbout the data modelAbout the data model