Skip to content

fix(event-handler): ignore return type from onSubscribe handler #3888

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
May 5, 2025

Conversation

dreamorosi
Copy link
Contributor

Summary

Changes

Please provide a summary of what's being changed

This PR updates the implementation of the AppSyncEventsResolver class to always ignore the response returned by an onSubscribe handler defined by customers. This is required to avoid customers inadvertently rejecting the subscription.

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

Issue number: fixes #3884


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 self-assigned this May 5, 2025
@boring-cyborg boring-cyborg bot added the event-handler This item relates to the Event Handler Utility label May 5, 2025
@pull-request-size pull-request-size bot added the size/XS PR between 0-9 LOC label May 5, 2025
@boring-cyborg boring-cyborg bot added the tests PRs that add or change tests label May 5, 2025
@github-actions github-actions bot added the bug Something isn't working label May 5, 2025
Copy link

sonarqubecloud bot commented May 5, 2025

@dreamorosi dreamorosi merged commit 02b3cda into main May 5, 2025
49 checks passed
@dreamorosi dreamorosi deleted the fix/evt_handler_appsync_return branch May 5, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working event-handler This item relates to the Event Handler Utility size/XS PR between 0-9 LOC tests PRs that add or change tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: AppSync events onSubscribe resolver return type should be ignored
2 participants