Hit a problem upgrading from 3.4.0 to 4.10.1. I referenced your UPGRADE.md and examples.
Using aws-serverless-express@3.4.0, my url path for a particular REST GET call gets resolved to /profiles/envConfig/client-config-v1 as expected. I have some code at that routed path. It works.
Once I upgrade to @vendia/serverless-express@4.10.1, that same REST GET call unexpectedly gets resolved to /envConfig/client-config-v1, and since I don't manage that path, the call returns an error message: Cannot GET /envConfig/client-config-v1.
Any insight into what would cause the change in url path on the node serverless-express side? Wondering if no longer using app.use(middleware.eventContext()) or awsServerlessExpress.proxy changes url path resolution?
I'm providing essential code snippets. Any thoughts would be most appreciated. Thanks.
CODE using aws-serverless-express@3.4.0 works as expected.
Hit a problem upgrading from 3.4.0 to 4.10.1. I referenced your UPGRADE.md and examples.
Using aws-serverless-express@3.4.0, my url path for a particular REST GET call gets resolved to /profiles/envConfig/client-config-v1 as expected. I have some code at that routed path. It works.
Once I upgrade to @vendia/serverless-express@4.10.1, that same REST GET call unexpectedly gets resolved to /envConfig/client-config-v1, and since I don't manage that path, the call returns an error message: Cannot GET /envConfig/client-config-v1.
Any insight into what would cause the change in url path on the node serverless-express side? Wondering if no longer using app.use(middleware.eventContext()) or awsServerlessExpress.proxy changes url path resolution?
I'm providing essential code snippets. Any thoughts would be most appreciated. Thanks.
CODE using aws-serverless-express@3.4.0 works as expected.
index.js
app.js
Some console debug output:
CODE using @vendia/serverless-express@4.10.1 fails. Fails whether I use the built-in router or instantiate my own app.Router().
index.js
app.js
Some console debug output: