Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for merging server routers #1547

Closed
kiiadi opened this issue Jul 12, 2022 · 2 comments
Closed

Support for merging server routers #1547

kiiadi opened this issue Jul 12, 2022 · 2 comments
Labels
enhancement New feature or request server Rust server SDK

Comments

@kiiadi
Copy link
Contributor

kiiadi commented Jul 12, 2022

I have a use-case where I have two smithy services that I want to be satisfied by a single server implementation on a single address binding. Currently there is no way to bind multiple Router implementations to the same hyper address binding.

Something like this would be great:

let app: Router = service_a::OperationRegistryBuilder()...

let serviceB: Router = service_b::OperationRegistryBuilder()...

app.merge(serviceB);
@crisidev crisidev added server Rust server SDK enhancement New feature or request good first issue Good for newcomers labels Jul 12, 2022
@crisidev
Copy link
Contributor

@david-perez david-perez removed the good first issue Good for newcomers label Jul 29, 2022
@david-perez
Copy link
Contributor

Closing in favor of #2979.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server Rust server SDK
Projects
None yet
Development

No branches or pull requests

3 participants