why http body
types are scattered throughout the crate
#2836
Replies: 2 comments 1 reply
-
Notice that your examples include both And then I'd say it's better to have I'm not saying the code organization is perfect or that other stances wouldn't work, but I don't think we should simply move everything under If you don't mind me asking, what prompted this? Were you looking for something and was it hard to find the correct extractor/response type? |
Beta Was this translation helpful? Give feedback.
-
I completely get your point. But for a new comer, its quite daunting to figure out everything by reading docs only. But in case of Keeping every And for those who are trying to find these types in the extract module for them I think that |
Beta Was this translation helpful? Give feedback.
-
axum::Form
,axum::Json
,axum::response::Html
,axum::extract::Multipart
are different http body types. So, I think they should be inside theaxum::body
moduleBeta Was this translation helpful? Give feedback.
All reactions