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

Axum 0.6.0 #89

Closed
ieow opened this issue Nov 24, 2022 · 2 comments
Closed

Axum 0.6.0 #89

ieow opened this issue Nov 24, 2022 · 2 comments

Comments

@ieow
Copy link

ieow commented Nov 24, 2022

got this issue when using rspc with Axum 0.6.0

mismatched types
expected struct `MethodRouter<(), _>`
   found struct `axum::routing::method_routing::MethodRouter`
perhaps two different versions of crate `axum` are being used?
@oscartbeaumont
Copy link
Member

Thanks for reporting. Currently, rspc doesn't support Axum 0.6. I have started work on supporting Axum 0.6 but it's proving challenging due to the way extractors have changed upstream. I am closing in favor of issue #104 which has a more detailed rundown.

@stewartadam
Copy link

stewartadam commented Aug 29, 2023

@oscartbeaumont was this resolved for v0.1.3? Release notes say Axum 0.6 support, but I'm still bumping against this.

edit: I now see the required change in the end of the release notes of v0.1.3 release, looks like the samples at on the Axum Integration docs are missing that change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants