-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Move axum-extra's Query type to axum #3075
Comments
Was also unaware of it, but I think that the version in extra is really nice and would have been very useful to me in the past. |
I've never used the Should we add more tests, especially concerning encoding of special characters in the values? |
I think the Query and Json modules have similar uses and importance. I think Query should be consistent with Json, so their file locations should be in the same place. |
cc @SabrinaJewson - do you have an opinion on this? |
It seems fine to me in principle. I wonder if the inefficiencies could be avoided by lazily parsing the input? That is, by default no |
IIRC something like that is already the case. I have some benchmarks in the repo and it's barely slower (needs some extra branches only) for cases supported by both crates. |
I'm wondering whether we should address jplatte/serde_html_form#23 first. From what I've seen so far the two query extractor seem to behave slightly differently in that regard, and it would be unfortunate to introduce a breaking change twice if we think about aligning the two implementations again anyway. |
Oh! I didn't think my crate had different behavior in any case supported by Given all that, the best solution is probably to ship 0.8 without this. |
From #1041 (comment)
As the creator of the underlying crate I may be biased a bit. There's probably some cases where it's a tad slower but that should be everything in terms of downsides.
The text was updated successfully, but these errors were encountered: