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
More an edge case than a real issue: if a body parameters has the exact same name as a query parameter, then the body parameter will override the value.
For example, consider this route definition (with MySchema defined elsewhere)
@FredM Thanks for the report, and I can reproduce this. Although I'm puzzling a bit over what the correct behavior should be.
Are you aware of any standards for describing what takes precedence? i.e. If duplicate data exists for the POST params and body, which are we supposed to use?
More an edge case than a real issue: if a body parameters has the exact same name as a query parameter, then the body parameter will override the value.
For example, consider this route definition (with MySchema defined elsewhere)
If I call it like that
then the output will be
Even if MySchema does not define
param_2
(strippingparam_2
key from the body), the value gets overwritten.The text was updated successfully, but these errors were encountered: