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
When I use the Context#Bind method of the Context#DefaultBinder (default implementation for the Context#Binder interface), I cannot bind the parameters contained in the url/path of the request.
Checklist
Dependencies installed
No typos
Searched existing issues and docs
Expected behavior
Code for the handler (derived from the examples in the documentation):
The path parameter should be retrieved via echo.Context#Param(string) string https://echo.labstack.com/guide/request
Please refer to the path parameter section.
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
/ / / / / / / / / / / / / / / / / /
Please use forum https://forum.labstack.com to ask questions!
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
/ / / / / / / / / / / / / / / / / /
Issue Description
When I use the Context#Bind method of the Context#DefaultBinder (default implementation for the Context#Binder interface), I cannot bind the parameters contained in the url/path of the request.
Checklist
Expected behavior
Code for the handler (derived from the examples in the documentation):
Code defining user type, also taken from the examples in the documentation
If I run the following request:
I would expect the
Name
field inu
to be equal to "Joe".Actual behavior
When executing the following request:
The
Name
field inu
remains empty.Steps to reproduce
Working code to debug
Version/commit
v4.1.5
The text was updated successfully, but these errors were encountered: