Skip to content

Fixes handling of throwing batch load funcs #13

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

Conversation

NeedleInAJayStack
Copy link
Member

While a batchLoadFunction was allowed to be throwing, if one threw it either caused deadlocks or an abandoned NIO future error.

These changes allow the batchLoadFunction to error, in which case all key futures are failed.

@paulofaria
Copy link
Member

LGTM! :shipit:

@NeedleInAJayStack NeedleInAJayStack merged commit bc8ec06 into GraphQLSwift:master Feb 2, 2022
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.

2 participants