Uploaded image for project: 'ProtoStream'
  1. ProtoStream
  2. IPROTO-51

ProtoSchemaBuilder fails on required property of type bytes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.Alpha7, 4.3.0.Final
    • 3.0.5.Final
    • None

        @ProtoField(number = 10, required = true)
        public byte[] getName() {
          return name;
        }
      

      reults in

      Failure: org.infinispan.protostream.annotations.ProtoSchemaBuilderException: Repeated field 'name' of class app.model.Train cannot be marked required.

              anistor Adrian Nistor (Inactive)
              anistor Adrian Nistor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: