Fixes #202 by adding a new optional option parseCommaSeparatedQueryParams to opt-out from parsing multi-value query params with api gateway v2.0 format.
Additionally fixes a bug where the lambda incoming event argument was manipulated during the parsing. This may cause confusion for users attempting to log the original lambda argument when using request.awsLambda.event.queryStringParameters
Fixes #202 by adding a new optional option
parseCommaSeparatedQueryParams
to opt-out from parsing multi-value query params with api gateway v2.0 format.Additionally fixes a bug where the lambda incoming
event
argument was manipulated during the parsing. This may cause confusion for users attempting to log the original lambda argument when usingrequest.awsLambda.event.queryStringParameters
Checklist
npm run test
andnpm run benchmark