Handle route delegation properly
When a set of routes is delegated to another router, there is a missing "/" between the prefix of the delegated route and the last part of the route.
For instance:
-> /endpoint myEndpoint.router.Routes
and in the myEndpoint.router.routes:
GET /my/endpoint ....
would end up with url /endpointmy/endpoint insead of /endpoint/my/endpoint
@larochef could you add some test cases?
@pjfanning i'll have a look at how the delegation can be done in tests
@pjfanning I've added some tests, they helped me see some forgotten cases.
@pjfanning did you get a chance to have a look at it ?
@larochef your change looks ok to me but you'll need a Member to review and merge
I have the same problem and would like this fix. Is it going to be merged soon and released to maven ?