Replies: 1 comment
-
One idea I had was to set the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First off, thank you for the amazing work on the protobuf library. I know this has been asked a couple of times in the org and made clear that there wouldn't be built in support. So, I'm trying to transparently use
DateTime
in place ofgoogle.protobuf.Timestamp
via a transform module like mentioned in this issue. I currently have a functioning implementation that passes very basic tests.It's ugly, but it works (so far).
My biggest problem is that while the data will be a
DateTime
struct, all of the generated code still referencesGoogle.Protobuf.Timestamp
, so typespecs will be incorrect. Is there any way to fix this, or a better way to go about this?Beta Was this translation helpful? Give feedback.
All reactions