tonic-build gives gRPC methods that return a stream (e.g. transaction()) a dedicated type alias for the return type. The name of the type is {method name}Stream, which violates Rust naming conventions. We don't have control over those type names though, so the next best thing is disabling the diagnostic altogether.
What is the goal of this PR?
tonic-build gives gRPC methods that return a stream (e.g.
transaction()
) a dedicated type alias for the return type. The name of the type is{method name}Stream
, which violates Rust naming conventions. We don't have control over those type names though, so the next best thing is disabling the diagnostic altogether.