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
We currently have a grpc protobuf that uses the google timestamp protobuf google.protobuf.Timestamp. Currently this creates a new type but we would like to map fields with this type to the DateTime scalar provided by graphql-scalars. This would allow us to then use other gRPC and graphql-codegen features to use Date objects on the client. Currently you can use the replace-field transform but this would require to map out every field that uses this type. It would be valuable to have a replace-type transform that could replace all the current types with a new one without a large amount of configuration in the .meshrc.yaml file.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We currently have a grpc protobuf that uses the google timestamp protobuf
google.protobuf.Timestamp
. Currently this creates a new type but we would like to map fields with this type to theDateTime
scalar provided bygraphql-scalars
. This would allow us to then use other gRPC andgraphql-codegen
features to useDate
objects on the client. Currently you can use thereplace-field
transform but this would require to map out every field that uses this type. It would be valuable to have areplace-type
transform that could replace all the current types with a new one without a large amount of configuration in the.meshrc.yaml
file.Beta Was this translation helpful? Give feedback.
All reactions