You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, for query string like key[]=value1&key[]=value2, serde_urlencoded will not respect it as an array, could we consider using serde_qs instead of serde_urlencoded for deserializing Query?
There is no standard way to serialize arrays in query strings, therefore serde_urlencoded doesn't support it. So I think its the right choice for axum. Note that warp and actix-web also uses serde_urlencoded.
Feature Request
Motivation
Hi, for query string like
key[]=value1&key[]=value2
,serde_urlencoded
will not respect it as an array, could we consider using serde_qs instead of serde_urlencoded for deserializing Query?axum/axum/src/extract/query.rs
Line 60 in c7b8813
Proposal
Just using
serde_qs::from_str<T>(raw_query_string)
instead ofserde_urlencoded
Alternatives
Yes, now I can get the raw query string to parse it.
The text was updated successfully, but these errors were encountered: