grpc / grpc/grpc-rust

NamedService makes it impossible to wrap individual services with non-intercept layers

Open
#1,875 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12.5k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
24

Description

Current state of affairs when it comes to building complex tower services makes it impossible to use generic tower-http layers when attempting to wrap individual grpc service with layer via [ServiceBuilder](https://docs.rs/tower/0.5.0/tower/struct.ServiceBuilder.html) due to `NamedService` requirement

Do you think it would be useful to add some sort of wrapper type that would allow to access individual `NamedService` from within Layered service?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.