[Feature Request] Support multiValueQueryStringParameters
See original GitHub issueAPI Gateway gives multiValueQueryStringParameters
to lambda when QueryParameters are multiple parameters.
However, mangum always passes queryStringParameters
to query_string
in ASGI’s scope.
I can create a PR if you want it to support multiple query parameters.
Related Links
https://aws.amazon.com/blogs/compute/support-for-multi-value-parameters-in-amazon-api-gateway/
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
[Feature Request] Support multiValueQueryStringParameters
I tested a lambda app with a single query parameter and multi-value query parameters. API Gateway always gives Event with queryStringParameters ...
Read more >Support for multi-value parameters in Amazon API Gateway
The multiValueQueryStringParameters key is present in the input request regardless of whether the request contains keys with multiple values.
Read more >API Gateway: Explaining Lambda Payload version 2.0 in ...
The blog described new features and changes including Lambda payload version 2.0 which would be used by default since GA.
Read more >Define API GATEWAY list type parameter - Stack Overflow
After some logging seems that API GATEWAY parses same query keys as a list in event.multiValueQueryStringParameters. So ...
Read more >Build a Hello World REST API with Lambda proxy integration
If this is your first time using API Gateway, you see a page that introduces you to the features of the service. Under...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@koxudaxi thanks for explaining! I wasn’t aware of how normal query strings would work with the new changes. If you could PR a test to the effect of your examples I would appreciate it.
@erm I put the event results.
I show you some patterns as text.
?test=param1&test=param2
?test=param1
?test=
Query parameter is nothing