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

Open
wants to merge 3 commits into
base: 16.x.x
Choose a base branch
from

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
@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 <[email protected]>
@JoviDeCroock JoviDeCroock requested a review from benjie May 13, 2025 10:54
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
2 participants