Closed mbrobbel closed 1 week ago
It's possible that this may not be required inside of Tonic, and we can instead use the new-type pattern inside of protoc-gen-tonic
to do this ourselves instead. I'll take a look, and if so, that will encourage the pattern of having implementers provide their own values.
Closing as this is indeed not needed.
Motivation
1599 removed the
tonic_build::Service
andtonic_build::Method
implementations for
prost_build::Service
andprost_build::Method
. These impls are used in https://github.com/neoeinstein/protoc-gen-prost.Solution
This PR re-adds the implementations that were removed in #1599.