Open raboof opened 2 years ago
Could we detect and register those from the generated code instead?
at least for Map we don't necessarily specify the value type in the proto it seems (https://docs.akkaserverless.dev/java/replicated-entity-crdt.html#_replicated_map), indeed it might be fine to allow that and then add the descriptor automatically
s/automatically/manually
👍
When you want to use protobuf message types in CRDT Map or Set data structures, you have to register the corresponding descriptor in the
additionalDescriptors
by customizing the component registration (for which the defaults are generated underAkkaServerlessFactory
. We should probably explain that in more detail inreplicated-entity-crdt.md