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

chore(transport) Re-export axum::Router as AxumRouter #1483

Merged
merged 4 commits into from Sep 1, 2023

Conversation

tottoto
Copy link
Contributor

@tottoto tottoto commented Aug 28, 2023

Resolves #1479.

@tottoto
Copy link
Contributor Author

tottoto commented Aug 28, 2023

The failed codegen ci would be fixed in #1484.

@tottoto tottoto changed the title chore(tonic) Re-export axum::Router as AxumRouter chore(transport) Re-export axum::Router as AxumRouter Aug 29, 2023
@tottoto
Copy link
Contributor Author

tottoto commented Aug 29, 2023

As I found that axum::Router returned by tonic's Router::into_router uses axum::body::BoxBody, it might be useful to re-export axum's BoxBody as well.

@LucioFranco LucioFranco added this pull request to the merge queue Sep 1, 2023
Merged via the queue into hyperium:master with commit 6db46e0 Sep 1, 2023
16 checks passed
@tottoto tottoto deleted the re-export-axum-router branch September 1, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-export axum::Router
2 participants