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 crash in node when mixing sync/async resolvers #3706

Merged
merged 2 commits into from Oct 17, 2022

Conversation

chrskrchr
Copy link
Contributor

Fixes #3528

Ensures that if executeFields encounters a mix of promises and thrown errors, the promises will be awaited before throwing the error.

@netlify
Copy link

netlify bot commented Aug 18, 2022

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit 880d3bd
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/6348048c556859000a25e5f1
😎 Deploy Preview https://deploy-preview-3706--compassionate-pike-271cb3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@chrskrchr chrskrchr marked this pull request as ready for review August 18, 2022 18:18
@chrskrchr chrskrchr marked this pull request as draft August 18, 2022 18:20
@chrskrchr chrskrchr marked this pull request as ready for review August 18, 2022 18:22
chrskrchr added a commit to chrskrchr/graphql-js that referenced this pull request Aug 18, 2022
chrskrchr added a commit to chrskrchr/graphql-js that referenced this pull request Aug 18, 2022
@chrskrchr
Copy link
Contributor Author

@saihaj - could you take a look at this PR when you have a moment? A similar had been submitted and approved previously (so it might look familiar), but I don't want to mention that PR here for risk of tainting it with CLA issues like the last PR. 😬

@saihaj saihaj requested review from IvanGoncharov and a team October 5, 2022 03:18
@IvanGoncharov IvanGoncharov added the PR: bug fix 🐞 requires increase of "patch" version number label Oct 17, 2022
@IvanGoncharov IvanGoncharov merged commit 5009d9f into graphql:main Oct 17, 2022
IvanGoncharov added a commit that referenced this pull request Oct 17, 2022
#3708)

Co-authored-by: Ivan Goncharov <ivan.goncharov.ua@gmail.com>
IvanGoncharov added a commit that referenced this pull request Oct 17, 2022
#3707)

Co-authored-by: Ivan Goncharov <ivan.goncharov.ua@gmail.com>
yaacovCR added a commit to yaacovCR/graphql-executor that referenced this pull request Oct 18, 2022
including mixture of sync/async errors in lists

following graphql#3706 fix for field execution
yaacovCR added a commit to yaacovCR/graphql-executor that referenced this pull request Oct 19, 2022
including mixture of sync/async errors in lists

following graphql#3706 fix for field execution
yaacovCR added a commit to yaacovCR/graphql-executor that referenced this pull request Jan 3, 2023
yaacovCR added a commit to yaacovCR/graphql-executor that referenced this pull request Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: bug fix 🐞 requires increase of "patch" version number
Projects
None yet
3 participants