Serverless-express: [Request] Add support for multi-value parameters

Created on 30 Nov 2018  路  9Comments  路  Source: vendia/serverless-express

It looks like last month, API Gateway added support for multi-value params, so you can have the same header and query string params repeated multiple times with different values.

It looks like these are part of new fields on the event object called multiValueHeaders and multiValueQueryStringParameters.

Would it be possible to use these when translating the event object to a request object rather than the original, single-valued versions?

Most helpful comment

I have this working in a local branch as part of a larger release.

All 9 comments

I have this working in a local branch as part of a larger release.

@brettstack do you maybe have an idea when this might get released?

@brettstack is this project still actively being worked on? There's a number of PRs waiting and it's unclear when the next release is coming. I'm trying to decide if I should just wait or possibly fork this project (I want to avoid forking).

amplify uses this by default, if the project will have no maintenance from aws, they shouldn't push it . I got surprise when I saw no support for query string parameters

I have opened the PR https://github.com/awslabs/aws-serverless-express/pull/232 with this change, now I am using my fork while the PR is not merged or the branch from @brettstack get merged and published.

Is this project still maintained?

I left AWS last year and no one has picked it up. I'll reach out to some old colleagues and see if we can organize something so that I can continue providing support.

@brettstack No worries, thanks for the quick reply. I might be interested in maintaining but will need to check my capacity

Now maintaining this project under http://vendia.net/ 馃憤 v4 coming soon

Was this page helpful?
0 / 5 - 0 ratings

Related issues

theweaklink picture theweaklink  路  3Comments

sclark39 picture sclark39  路  7Comments

damienwebdev picture damienwebdev  路  4Comments

dougmoscrop picture dougmoscrop  路  5Comments

simon998yang picture simon998yang  路  10Comments