grpc-dart icon indicating copy to clipboard operation
grpc-dart copied to clipboard

Should interceptors pass in the Channel that is calling them

Open fuzzybinary opened this issue 3 years ago • 0 comments

I have a use case for a ClientInterceptor that requires I know what Channel call is being made on, but there's no way to get this information from the intercept call without passing in the channel to the Interceptor's constructor.

Does it make sense to instead pass the Channel in as a parameter to the intercept* calls?

fuzzybinary avatar Apr 20 '22 20:04 fuzzybinary