-
Enhancement
-
Resolution: Done
-
Major
-
None
The auto schema generation works well with all the property types enumerated here
org.infinispan.protostream.descriptors.Type.
The other types, for instance the ones defined in the types module, are not applied by default, so the user needs to add adapters to handle the schema for these types.
The problem is that the adapters do not reuse the schema definition for these types defined in the module types, this will make these types not indexable correctly.
We want instead by default reuse the serialization context derived from the common types when we generate the schema.
This will allow us to not create new prototypes each time that a property of this kind is used and to index correctly server side the values.