Details
-
Enhancement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
Undefined
Description
If the interface with Annotation @AutoProtoSchemaBuilder reference an annotated class which include not annotated objects, example
class Book
{ @ProtoField(number =1) public UUID id; ...}The processing will fire an error regarding the constructor
[ERROR] ...Initalizer.java:[7,8] org.infinispan.protostream.annotations.ProtoSchemaBuilderException: The class java.util.UUID must be instantiable using an accessible no-argument constructor.
this can be confusing and it should be an error point to the missing ProtoAdaptor implementation for a not annotated class.