(no title)
throwaway76324 | 1 year ago
pseudo code (to not trigger language wars):
class Foo {
@Id
UUID id;
String name;
@Json
MyCustomModel model;
}
Adding fields is not an issue, as it will simply be missing a value when de-serializing. Your business logic will need to handle its absence, but that is no different than using MongoDB or "classic" table columns
sberder|1 year ago