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
Based on my reading of isWKTWithScalarJSONMapping and its usage, it seems like the only messages that's supported for parameters are primitive wrappers and google.protobuf universe. Would be great to also support more types from the google.type universe. I'm interested in using google.type.Date, at least.
The text was updated successfully, but these errors were encountered:
Hey @torkelrogstad you are correct, currently there is no custom formatting for JSON types (see this related issue that asks for google.type.Date). The parameter mapping uses the proto JSON representation and is restricted to these subset of types. Adding custom formats would have to be done with a custom JSONCodec. It would need to alter the methods MarshalAppendField and UnmarshalField to handle the date type marshalling. Hope that helps!
Based on my reading of
isWKTWithScalarJSONMapping
and its usage, it seems like the only messages that's supported for parameters are primitive wrappers andgoogle.protobuf
universe. Would be great to also support more types from thegoogle.type
universe. I'm interested in usinggoogle.type.Date
, at least.The text was updated successfully, but these errors were encountered: