Skip to content

Conversation

amitassaraf
Copy link
Contributor

Currently, API gateway blindly passes all headers from the request to the integration it connects with, the function I added does 2 things to mimic AWS functionality:

  1. Only mapped headers will be passed to the integration (of course only if the function is used, currently it's only used in appsync)
  2. Adds support for static value in request parameter headers see the documentation attached below

image
https://docs.aws.amazon.com/apigateway/latest/developerguide/request-response-data-mappings.html

Copy link
Contributor

@calvernaz calvernaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @amitassaraf, good timing! we are working on a generic implementation for the request parameters that will go out soon. So this code is being removed in a way. We'll keep this around for reference and close after we merge upstream

@alexrashed
Copy link
Member

Hi @amitassaraf and @calvernaz!
I think this PR should be obsolete by now, as the referenced PR has been merged already.
Could you please confirm if this is the case and maybe close this PR?
Thanks!

@bentsku
Copy link
Contributor

bentsku commented Mar 8, 2024

I'll go ahead and close the PR as this was superseded by #7580.

Thanks again for your contribution, sorry this was being worked on simultaneously.

@bentsku bentsku closed this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants