-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Unable to get param value with the paths specified #2364
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
Comments
I think it's related to this issue 1306. It'll be changed to version 5, I guess. The first added route will define the param's name for the rest of the related routes. If you print the params names If you put the |
Thanks @arctouch-rafaelturnes. That was indeed the issue. Closing it since there is an ongoing discussion for the same. |
What version you are using? I think this is resolved in |
HI @aldas, this project was created before and was using version 4.2.x. I updated now and checked in 4.9.1 and it is fixed and working as expected. Thanks for the help. |
Hi All,
With the below configuration, I am not able to get the path param in the GET request.
The log print in the GET function handler prints the param blank.
Just to check if my understanding of the routes is wrong, I tested the same in gin, and it is working properly.
For now changed the path of the GET request slightly to overcome this issue, but could someone please explain why this doesn't work.
Thanks.
The text was updated successfully, but these errors were encountered: