Closed hendrikmaus closed 9 years ago
Hi @hendrikmaus. Thanks for the pull request! I'm really busy this close to Christmas but I'll have a look at it in the next couple of days and merge it in.
Very well, I am looking forward to your feedback.
Thanks for the PR @hendrikmaus! It's merged in and just released v1.1.3.
@kielabokkie you're welcome
The command now supports multiple URI params, e.g.
/players/{name}/{age}
and URI params as well as query params at the same time, e.g./players/{name}/{age}{?filter,locale}
Furthermore I added extensive unit testing for parsing URI's which cover most of the scenarios I often run into.
While working on the code, I split the original
parseUri
method into multiple sub-methods.parseUri
itself just checks for URI and query params and replaces them.I'd suggest creating version 1.1.3 after merging this.