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
The latter did not work and it took me a few minutes to realize that once you have an endpoint registered with a path param with a particular name, subsequent endpoints will use that and ignore any new names.
Ideally all parameters of same purpose will have the same name but I'm wondering if this behavior is intentional. If it's intentional maybe an error should be thrown when users mistakenly change the name?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I noticed a behavior with echo that wasn't documented and I'm wondering if this is a bug or design.
Say for instance I have a route like this
A user made a PR with a route like this
The latter did not work and it took me a few minutes to realize that once you have an endpoint registered with a path param with a particular name, subsequent endpoints will use that and ignore any new names.
Ideally all parameters of same purpose will have the same name but I'm wondering if this behavior is intentional. If it's intentional maybe an error should be thrown when users mistakenly change the name?
All reactions