Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: multiValueQueryStringParameters should be null if empty #182

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

sternetj
Copy link
Contributor

@sternetj sternetj commented Nov 7, 2024

According to the docs a multi-value param should be separated by commas for the queryStringParameters field and all fields should be formatted as an array for multiValueQueryStringParameters. In my testing it seems that our lambdas take one or the other so all values should exist in both.

I set the multiValueQueryStringParameters to null when there are no multi fields.

@sternetj sternetj requested review from swain and rob-snyder November 7, 2024 14:07
@sternetj sternetj merged commit 4f28ad8 into master Nov 7, 2024
6 checks passed
@sternetj sternetj deleted the handle-empty-multiValueQueryStringParameters branch November 7, 2024 14:52
Copy link

github-actions bot commented Nov 7, 2024

🎉 This PR is included in version 7.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants