Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12310

Describe the protobuf error message

XMLWordPrintable

      Create a protobuf with

       

      package book_sample;
      message Book {
       optional string title = 1;
       optional string description = 2;
       optional int publicationYear = 3;
       }

      It will show: Schema book.proto has errors

       

      If you inspect the response you will see: cause: "Failed to resolve type of field "book_sample.Book.publicationYear". Type not found : int"

       

      It is better to show what is the error

              karestig@redhat.com Katia Aresti
              karestig@redhat.com Katia Aresti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: