Skip to content

Revert "refactor buildResolveInfo into a lazy class (#4530)"#4553

Merged
yaacovCR merged 1 commit intographql:nextfrom
yaacovCR:revert-resolve-info-class
Feb 11, 2026
Merged

Revert "refactor buildResolveInfo into a lazy class (#4530)"#4553
yaacovCR merged 1 commit intographql:nextfrom
yaacovCR:revert-resolve-info-class

Conversation

@yaacovCR
Copy link
Copy Markdown
Contributor

@yaacovCR yaacovCR commented Feb 10, 2026

Sadly, this would break existing users that resolver functions by spreading the info argument.

BREAKING CHANGE: this PR changes info.abortSignal to info.getAbortSignal() => now that info as a whole is not lazy, changing to a method allows us to maintain laziness with regards to the creation of the abort signal.

@yaacovCR yaacovCR requested a review from a team as a code owner February 10, 2026 20:27
@yaacovCR yaacovCR added the PR: bug fix 🐞 requires increase of "patch" version number label Feb 10, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 10, 2026

@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 added a commit to yaacovCR/graphql-js that referenced this pull request Feb 10, 2026
…ResolveInfo class (graphql#4552)"

See graphql#4553, the lazy ResolveInfo class would break users who wrap resolvers by spreading info.
@yaacovCR yaacovCR added PR: breaking change 💥 implementation requires increase of "major" version number and removed PR: bug fix 🐞 requires increase of "patch" version number labels Feb 11, 2026
yaacovCR added a commit that referenced this pull request Feb 11, 2026
…ResolveInfo class (#4552)" (#4555)

See #4553, the lazy ResolveInfo class would break users who wrap resolvers by spreading the `info` argument.
Sadly, this would break existing users that resolver functions by spreading the info argument.
@yaacovCR yaacovCR force-pushed the revert-resolve-info-class branch from 46a87e2 to 08687ae Compare February 11, 2026 13:32
@yaacovCR yaacovCR added PR: bug fix 🐞 requires increase of "patch" version number and removed PR: bug fix 🐞 requires increase of "patch" version number labels Feb 11, 2026
@yaacovCR yaacovCR merged commit b52b05e into graphql:next Feb 11, 2026
15 of 16 checks passed
@yaacovCR yaacovCR deleted the revert-resolve-info-class branch February 11, 2026 13:36
yaacovCR added a commit that referenced this pull request Feb 22, 2026
Sadly, this would break existing users that resolver functions by spreading the info argument.

BREAKING CHANGE: this PR changes `info.abortSignal` to `info.getAbortSignal()` => while `info` as a whole is not lazy, changing to a method allows us to maintain laziness at least with regards to the creation of the abort signal.
yaacovCR added a commit that referenced this pull request Feb 22, 2026
Sadly, this would break existing users that resolver functions by spreading the info argument.

BREAKING CHANGE: this PR changes `info.abortSignal` to `info.getAbortSignal()` => while `info` as a whole is not lazy, changing to a method allows us to maintain laziness at least with regards to the creation of the abort signal.
yaacovCR added a commit that referenced this pull request Feb 23, 2026
Sadly, this would break existing users that resolver functions by spreading the info argument.

BREAKING CHANGE: this PR changes `info.abortSignal` to `info.getAbortSignal()` => while `info` as a whole is not lazy, changing to a method allows us to maintain laziness at least with regards to the creation of the abort signal.
yaacovCR added a commit that referenced this pull request Feb 23, 2026
Sadly, this would break existing users that resolver functions by spreading the info argument.

BREAKING CHANGE: this PR changes `info.abortSignal` to `info.getAbortSignal()` => while `info` as a whole is not lazy, changing to a method allows us to maintain laziness at least with regards to the creation of the abort signal.
yaacovCR added a commit that referenced this pull request Feb 24, 2026
Sadly, this would break existing users that resolver functions by spreading the info argument.

BREAKING CHANGE: this PR changes `info.abortSignal` to `info.getAbortSignal()` => while `info` as a whole is not lazy, changing to a method allows us to maintain laziness at least with regards to the creation of the abort signal.
yaacovCR added a commit that referenced this pull request Feb 24, 2026
Sadly, this would break existing users that resolver functions by spreading the info argument.

BREAKING CHANGE: this PR changes `info.abortSignal` to `info.getAbortSignal()` => while `info` as a whole is not lazy, changing to a method allows us to maintain laziness at least with regards to the creation of the abort signal.
yaacovCR added a commit that referenced this pull request Feb 24, 2026
Sadly, this would break existing users that resolver functions by spreading the info argument.

BREAKING CHANGE: this PR changes `info.abortSignal` to `info.getAbortSignal()` => while `info` as a whole is not lazy, changing to a method allows us to maintain laziness at least with regards to the creation of the abort signal.
yaacovCR added a commit that referenced this pull request Feb 24, 2026
Sadly, this would break existing users that resolver functions by spreading the info argument.

BREAKING CHANGE: this PR changes `info.abortSignal` to `info.getAbortSignal()` => while `info` as a whole is not lazy, changing to a method allows us to maintain laziness at least with regards to the creation of the abort signal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: breaking change 💥 implementation requires increase of "major" version number

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant