Closed giovanni-bertoncelli closed 2 years ago
I think there is an hidden breaking change between version 0.9.1 and 0.10.0 since routes with the same path are not correctly loaded:
settings: { port, routes: [{ path: '/api', aliases: { 'GET /diagnostic': `diagnostic.getStatus`, } }, { path: '/api', aliases: { 'GET /hello': `hello.hi`, } // ...other settings for group }], use: [headersParser] },
Calling each of the aliases on 0.9.1 resolved correctly the endpoint and the action. With the 0.10.0 returns always a 404.
Need to set a unique name for routes, read this changelog
Ok thank you
I think there is an hidden breaking change between version 0.9.1 and 0.10.0 since routes with the same path are not correctly loaded:
Calling each of the aliases on 0.9.1 resolved correctly the endpoint and the action. With the 0.10.0 returns always a 404.