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

Create a simple DSL to build Protocol Buffers schema

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 15.0.0.Dev01
    • 14.0.7.Final
    • Marshalling
    • None

    Description

      We want to provide a DSL to build a Protocol Buffers schema with all the options we can use using ProtoStream and the indexing annotations.

      Here is a possible usage:

      builder =new ProtoBuf.Builder()
         .indexed()
         .required("a", 1)
            .basic()
         .optional("b", 2)
            .keyword(...);
      var protobuf_as_string = builder.build()
      

      Attachments

        Activity

          People

            fercoli@redhat.com Fabio Massimo Ercoli
            fercoli@redhat.com Fabio Massimo Ercoli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: