You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently only GrpcContext is added, but it could be useful to have headers/metadata object to the context, the Grpc java need always have a interceptor to pass headers to GrpcContext, but I don't understand why?, If there are not a reason, I suggest that it can be put in CoroutineContext.
The text was updated successfully, but these errors were encountered:
Providing this by default I think would be too prescriptive, but I don't think its worth including an interceptor implementation with the standard library to allow users to explicitly opt into the functionality.
What do you mean with "too prescriptive", I don't think it be a bad idea and could be very useful.
Here is the interceptor that I currently use, but I think I could be better if it is transparent, also I think that koto should implement a way to handle suspendible interceptors(maybe a scope overridable), because we don't have coroutine context in grpc interceptors, but this is another thing 🙊.
Currently only GrpcContext is added, but it could be useful to have headers/metadata object to the context, the Grpc java need always have a interceptor to pass headers to GrpcContext, but I don't understand why?, If there are not a reason, I suggest that it can be put in CoroutineContext.
The text was updated successfully, but these errors were encountered: