Skip to content

Commit

Permalink
Allow different param names in different methods with same path scheme (
Browse files Browse the repository at this point in the history
#2209)

* Change methodHandler element type to methodContext

Signed-off-by: ortyomka <iurin.art@gmail.com>

* Allow different param names in the smae path with different methods

Signed-off-by: ortyomka <iurin.art@gmail.com>

* Rename methodContext to routeMethod
Add paramsCount in each node for perfomance

Signed-off-by: ortyomka <iurin.art@gmail.com>

* Add backtracking to nearest path

Signed-off-by: ortyomka <iurin.art@gmail.com>

* Remove params from NotAllowed

Signed-off-by: ortyomka <iurin.art@gmail.com>
  • Loading branch information
ortyomka authored Jul 11, 2022
1 parent ddb66e1 commit 9bf1e3c
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 98 deletions.
Loading

0 comments on commit 9bf1e3c

Please sign in to comment.