Skip to content

fix: complete isPromise replacement with isPromiseLike - #4995

Merged
yaacovCR merged 1 commit into
graphql:17.x.xfrom
yaacovCR:fix/thenable-completion
Nov 10, 2026
Merged

yaacovCR merged 1 commit into
graphql:17.x.xfrom
yaacovCR:fix/thenable-completion

Conversation

@yaacovCR

Copy link
Copy Markdown
Contributor

Complete #4672 and #4775.

PromiseOrValue does not guarantee that a promise can be checked with instanceof, it could be from a different realm or it could be a thenable.

Complete graphql#4672 and graphql#4775 by recognizing thenables in downstream checks.
PromiseOrValue does not guarantee that a promise is native.
@yaacovCR yaacovCR added the PR: bug fix 🐞 requires increase of "patch" version number label Nov 10, 2026
@vercel

vercel Bot commented Nov 10, 2026

Copy link
Copy Markdown

@yaacovCR is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@yaacovCR
yaacovCR merged commit 4976704 into graphql:17.x.x Nov 10, 2026
30 of 31 checks passed
@yaacovCR
yaacovCR deleted the fix/thenable-completion branch November 10, 2026 05:06
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.

1 participant