Currently, if you match /foo/{bar} with /foo/wibble?bar=1 the value of bar sent to the callback in the params object will be wibble, and the query parameter is lost. It makes sense for path parameters to take precedence, however we shouldn't lose information so consider adding a second callback parameter specifically for query parameters; alternatively roll up the parameters into a list as #12 says. Unclear what the way forward here is.
Currently, if you match
/foo/{bar}
with/foo/wibble?bar=1
the value ofbar
sent to the callback in theparams
object will bewibble
, and the query parameter is lost. It makes sense for path parameters to take precedence, however we shouldn't lose information so consider adding a second callback parameter specifically for query parameters; alternatively roll up the parameters into a list as #12 says. Unclear what the way forward here is.