Skip to content

3662 - fixes dataloader dispatching during subscriptions #3673

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 29, 2024

Conversation

bbakerman
Copy link
Member

Fixes #3662

The ExecutionContextBuilder was not copying the DataLoaderDispatchStrategy and this gets "transformed" during subscription execution. This caused it to fallback to the default NOOP implementation which is wrong.

The integration test was written first - it hung the dataloader as described in the bug and then with this fix applied it works. TDD!

Copy link
Member

@dondonz dondonz left a comment

Choose a reason for hiding this comment

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

Great stuff!!

@bbakerman bbakerman added this pull request to the merge queue Jul 29, 2024
Merged via the queue into master with commit 20f51e3 Jul 29, 2024
1 check passed
@dondonz dondonz deleted the 3662-fix-dataloader-dispatching-in-subscriptions branch July 29, 2024 22:52
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.

Investigate breaking @BatchMapping behaviour for subscriptions
2 participants