Replies: 1 comment
-
This is a known "feature" of router. See #1744 , #1726 This "feature" has been reworked in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions