lambda-api
lambda-api copied to clipboard
Registering a route without a prefix will clean out the apis entire prefix stack
In a scenario where you use a base path and define a set of routes using api.register() without a prefix it will work... once.
If you copy that api.register() line to include another set of routes, they will be registered without the base path (or any nested prefixes). 💥