Replies: 1 comment
-
|
Related issues: |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! This is a great project but there is one thing I am running into. Didn't want to file an issue since I don't think it's a bug and I've seen some other issues / discussion around it.
Basically the problem is that I am not sure what type I should be using from Buf trying to use the protobuf objects, say as a parameter into a component.
Here is a simple example:
Given the following
the type I get for
PlainMessage<Foo>is basicallyBut what I am seeing at runtime (as a type) is the following
A little additional info:
I am not using any of the
connectclients. Due to the way our system is setup, we have regular old gRPC on the servers and still need to use@grpc/grpc-json the "client" - we use Next.js so it's all server-to-server actually. This issue really came in handy for getting that working. So our setup will make the gRPC request server-to-server and then return the response via tRPC which I assume is callingtoJSONsince I can see on the server that theTimestampis still an object withsecondsandnanos.I am using
PlainMessagebecause that is what I saw suggested here and here.Any thoughts or suggestions on this? Please let me know if I can provide any additional information or if anything about my description is unclear.
Beta Was this translation helpful? Give feedback.
All reactions