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

REST API with Wrapped Message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 15.0.0.Final
    • REST, Server
    • None

      When I cache values with 

      syntax = "proto3";package io.quarkus.cache.infinispan.internal;import "org/infinispan/protostream/message-wrapping.proto";message CompositeCacheKey {
      {{ repeated org.infinispan.protostream.WrappedMessage keys = 1;}}
      }
      

       

      The REST API is unable to find the KEY when I send a composite cache key like

      {{
      { "_type": "io.quarkus.cache.infinispan.internal.CompositeCacheKey", "keys": [ { "_value": 19916 }
      ,
      {
      "_value": "Rome"
      }
      ]
      }}}
      

       

      Error: The field '_value' was not found in the Protobuf schema

       

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

                Created:
                Updated: