Skip to content

Catch unhandled exception in abstract resolution #4392

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 4 commits into from
May 21, 2025

Conversation

JoviDeCroock
Copy link
Member

@JoviDeCroock JoviDeCroock commented May 13, 2025

Fixes #4375

The assertion was correct that we have an unhandled Promise rejection going on when we have resolved a type and the rejection comes in at a later time.

We really have to revamp our tooling, the things that the linter is surfacing in tests and especially uncovered branches in tests... it really makes for a bad DX on this repo

@JoviDeCroock JoviDeCroock requested a review from a team as a code owner May 13, 2025 09:54
@JoviDeCroock JoviDeCroock added the PR: bug fix 🐞 requires increase of "patch" version number label May 13, 2025
@JoviDeCroock JoviDeCroock force-pushed the handle-unhandled-exception branch 3 times, most recently from e3b2a5d to 7158830 Compare May 13, 2025 09:58
Co-authored-by: Benjie <benjie@jemjie.com>
@JoviDeCroock JoviDeCroock force-pushed the handle-unhandled-exception branch 7 times, most recently from d45f7d8 to 20263e7 Compare May 13, 2025 10:53
Co-authored-by: Benjie <benjie@jemjie.com>
@JoviDeCroock JoviDeCroock requested review from benjie and saihaj May 13, 2025 10:54
@JoviDeCroock JoviDeCroock merged commit a7db60b into 16.x.x May 21, 2025
35 checks passed
yaacovCR pushed a commit to yaacovCR/graphql-js that referenced this pull request May 27, 2025
yaacovCR pushed a commit that referenced this pull request May 30, 2025
Co-authored-by: Benjie <benjie@jemjie.com>
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
Development

Successfully merging this pull request may close these issues.

defaultTypeResolver can result in unhandled promise rejection
3 participants