You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ts field will be automatically mapped as double. I'm looking at a way to have it converted to a Message type of google.protobuf.Timestamp. I've tried using a new module with custom ser/deserializers but the issue there is it drops google.protobuf. qualifiers for the type, using the simple name of the raw class instead.
I've looked at the code as well and cannot find anything that would support this so I'm not sure if I'm missing something or if this would be new functionality.
The text was updated successfully, but these errors were encountered:
Quick note: I am almost certain it would be new functionality; I am not familiar with WellKnownTypes metadata (from protoc?). But it sounds doable.
One practical blocker might be that the underlying protoc parser this module uses should probably replaced first (see #121). I suspect this might be necessary to find relevant metadata, unless this is actually something specified by Protobuf spec.
Assuming we have a Java POJO such as:
And then we use:
The
ts
field will be automatically mapped asdouble
. I'm looking at a way to have it converted to a Message type ofgoogle.protobuf.Timestamp
. I've tried using a new module with custom ser/deserializers but the issue there is it dropsgoogle.protobuf.
qualifiers for the type, using the simple name of the raw class instead.I've looked at the code as well and cannot find anything that would support this so I'm not sure if I'm missing something or if this would be new functionality.
The text was updated successfully, but these errors were encountered: