Skip to content

Conversation

@bwskin
Copy link

@bwskin bwskin commented Oct 22, 2025

Replaces axum::extract::Query with a custom extractor based on serde_qs.
axum::extract::Query uses the serde_urlencoded crate, while on the client side, Dioxus currently relies on serde_qs.
This mismatch causes unexpected behavior and prevents proper deserialization of structs passed as arguments to #[get] server functions.

With this change, it becomes possible to use any type that serde_qs can serialize in a query string.

This PR is a followup to #4827
It’s a bit unstructured at the moment, as the module is temporarily placed in the fullstack-server crate.
Suggestions on a better location for it are highly welcome.

@bwskin bwskin requested a review from a team as a code owner October 22, 2025 09:43
@bwskin bwskin changed the title Introduce serde_qs extractor for query string Fullstack: Introduce serde_qs extractor for query string Oct 22, 2025
@bwskin bwskin force-pushed the feat/serverfn-struct-qs-extractor branch from e78d6f3 to f43680f Compare October 22, 2025 09:53
@bwskin bwskin force-pushed the feat/serverfn-struct-qs-extractor branch from f43680f to 91c3b00 Compare October 22, 2025 09:54
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.

1 participant