To Reproduce
Everything works as it should:
/v1/pois works
/v1/pois/ works
/v1/pois/provider works
exept if querystring is set:
/v1/pois?format=json do not work, got 404
/v1/pois/?format=json works, but format is not set in req.query
/v1/pois/provider?format=json works correctly.
Expected behavior
All examples above should work and query params should be present
Describe the bug
I have nested routes like this (removing queryParser didn't make any difference, so I assume I can remove it):
And PoisController
To Reproduce
Everything works as it should:
/v1/pois
works/v1/pois/
works/v1/pois/provider
worksexept if querystring is set:
/v1/pois?format=json
do not work, got 404/v1/pois/?format=json
works, but format is not set in req.query/v1/pois/provider?format=json
works correctly.Expected behavior
All examples above should work and query params should be present