Replies: 7 comments
-
Hi @srpn, |
Beta Was this translation helpful? Give feedback.
-
Moreover, you should annotate the class |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response @fax4ever,
|
Beta Was this translation helpful? Give feedback.
-
What would be the Protocol Buffers schema you would like to generate for this case? |
Beta Was this translation helpful? Give feedback.
-
I am looking to use Infinispan for a distributed cache and I am new to Protocol Buffers. Here is a full example for ease of reproducing
|
Beta Was this translation helpful? Give feedback.
-
Yes! One-of seems to be the proper way to map the polymorphism. |
Beta Was this translation helpful? Give feedback.
-
I am trying to create a
@ProtoAdapter
for a third party class and I couldn't find examples for usage with inheritance.Lets say there is a class called
CachedAnimal
that contains anAnimal
andCacheDuration
.However, this fails to compile with
@AutoProtoSchemaBuilder
saying the@ProtoField
type "should not be abstract".Please provide details on how to deal with abstract types and add some examples to the documentation.
Beta Was this translation helpful? Give feedback.
All reactions