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: add context to custom function handler entrypoint, ref #9563 #9741

Merged
merged 1 commit into from
Feb 18, 2022
Merged

fix: add context to custom function handler entrypoint, ref #9563 #9741

merged 1 commit into from
Feb 18, 2022

Conversation

josefaidt
Copy link
Contributor

@josefaidt josefaidt commented Feb 10, 2022

Description of changes

adds context argument to entrypoint handler, passes on to custom module handler

Issue #, if available

fixes #9563
ref #8102

Description of how you validated changes

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@josefaidt josefaidt requested a review from a team as a code owner February 10, 2022 22:38
@codecov-commenter
Copy link

Codecov Report

Merging #9741 (2916c2d) into master (4a87373) will increase coverage by 0.06%.
The diff coverage is 34.45%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9741      +/-   ##
==========================================
+ Coverage   52.93%   52.99%   +0.06%     
==========================================
  Files         829      830       +1     
  Lines       45865    45992     +127     
  Branches     9789     9823      +34     
==========================================
+ Hits        24279    24374      +95     
- Misses      19581    19600      +19     
- Partials     2005     2018      +13     
Impacted Files Coverage Δ
...service-walkthroughs/execPermissionsWalkthrough.ts 71.22% <ø> (+0.50%) ⬆️
...mplify-category-notifications/lib/channel-Email.js 0.00% <0.00%> (ø)
...lify-category-notifications/lib/pinpoint-helper.js 0.00% <0.00%> (ø)
...ckages/amplify-cli-core/src/customPoliciesUtils.ts 87.09% <ø> (ø)
...amplify-cli-core/src/feature-flags/featureFlags.ts 80.83% <ø> (ø)
...-transformer/src/graphql-searchable-transformer.ts 93.43% <ø> (ø)
...c/extensions/amplify-helpers/auth-notifications.ts 28.18% <28.18%> (ø)
...ator/src/server/subscription/mqtt-server/client.ts 8.57% <33.33%> (ø)
...l-auth-transformer/src/graphql-auth-transformer.ts 89.62% <50.00%> (ø)
...dformation/src/utils/consolidate-apigw-policies.ts 67.82% <78.57%> (+49.80%) ⬆️
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9404a0c...2916c2d. Read the comment docs.

@josefaidt josefaidt linked an issue Feb 11, 2022 that may be closed by this pull request
4 tasks
@sundersc sundersc merged commit c061288 into aws-amplify:master Feb 18, 2022
@github-actions
Copy link

👋 Hi, this pull request was referenced in the v7.6.22 release!

Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v7.6.22.

@github-actions github-actions bot added the referenced-in-release Issues referenced in a published release changelog label Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
referenced-in-release Issues referenced in a published release changelog
Projects
None yet
5 participants