]
Adrian Nistor updated IPROTO-51:
--------------------------------
Status: Open (was: New)
ProtoSchemaBuilder fails on required property of type bytes
-----------------------------------------------------------
Key: IPROTO-51
URL:
https://issues.jboss.org/browse/IPROTO-51
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 3.0.5.Final
Reporter: Adrian Nistor
{code}
@ProtoField(number = 10, required = true)
public byte[] getName() {
return name;
}
{code}
reults in
Failure: org.infinispan.protostream.annotations.ProtoSchemaBuilderException: Repeated
field 'name' of class app.model.Train cannot be marked required.