-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing #[derive(Debug)] in generated code #298
Milestone
Comments
fixes. |
@nikclayton-dfinity this sounds like a great idea! Would totally accept a PR :) We prob want to add this to all external facing structs that codegen produces. |
jen20
added a commit
that referenced
this issue
Mar 30, 2020
jen20
added a commit
that referenced
this issue
Mar 30, 2020
jen20
added a commit
that referenced
this issue
Mar 30, 2020
jen20
added a commit
that referenced
this issue
Mar 30, 2020
jen20
added a commit
that referenced
this issue
Mar 30, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Version
0.1.1 (both tonic and tonic-build)
Platform
Darwin Niks-MBP 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64 i386 MacBookPro15,1 Darwin
Description
I'm experimenting with a server that maintains connections to multiple peers, with peers coming and going. My client type is
GossipClient
.I'm trying to store the peer clients in a variable of type
Arc<Vec<GossipClient<tonic::transport::Channel>>>
When I do this I get the following error at build time:
If I hand-edit the generated gossip.rs file (generated from the .proto file), find the generated
and add a
#[derive(Debug)]
immediately before it it works.The text was updated successfully, but these errors were encountered: