Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@JoviDeCroock
Copy link
Contributor

@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
src/execution/execute.ts Outdated Show resolved Hide resolved
src/execution/__tests__/union-interface-test.ts Outdated Show resolved Hide resolved
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>
@JoviDeCroock JoviDeCroock deleted the handle-unhandled-exception branch July 29, 2025 11:33
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

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.