Skip to content

feat(event-handler): expose event & context as object #4113

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

Merged
merged 1 commit into from
Jul 2, 2025

Conversation

dreamorosi
Copy link
Contributor

Summary

Changes

Please provide a summary of what's being changed

This PR updates the implementation of the AppSyncGraphQLResolver to pass the AWS Lambda function's event and context to the route resolver as an object rather than individual arguments.

This aligns the implementation to the Bedrock Agents resolver, which is how we want to expose these values moving forward.

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #4112


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@dreamorosi dreamorosi requested a review from svozza July 2, 2025 09:41
@dreamorosi dreamorosi self-assigned this Jul 2, 2025
@boring-cyborg boring-cyborg bot added event-handler This item relates to the Event Handler Utility tests PRs that add or change tests labels Jul 2, 2025
@pull-request-size pull-request-size bot added the size/M PR between 30-99 LOC label Jul 2, 2025
Copy link

sonarqubecloud bot commented Jul 2, 2025

Copy link
Contributor

@svozza svozza left a comment

Choose a reason for hiding this comment

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

Very good catch!

@dreamorosi dreamorosi merged commit 7e74c9e into main Jul 2, 2025
54 checks passed
@dreamorosi dreamorosi deleted the feat/expose_event_graphql branch July 2, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
event-handler This item relates to the Event Handler Utility size/M PR between 30-99 LOC tests PRs that add or change tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: expose event & context as object in AppSync GraphQL
2 participants