Skip to content

refactor buildResolveInfo into a lazy class#4530

Merged
yaacovCR merged 2 commits intographql:nextfrom
yaacovCR:resolve-info-class
Jan 26, 2026
Merged

refactor buildResolveInfo into a lazy class#4530
yaacovCR merged 2 commits intographql:nextfrom
yaacovCR:resolve-info-class

Conversation

@yaacovCR
Copy link
Copy Markdown
Contributor

image

this is a breaking change only because buildResolveInfo() is technically accessible via deep import

@yaacovCR yaacovCR added the PR: breaking change 💥 implementation requires increase of "major" version number label Jan 26, 2026
@yaacovCR yaacovCR requested a review from a team as a code owner January 26, 2026 11:46
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 26, 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 yaacovCR merged commit 946711a into graphql:next Jan 26, 2026
15 of 16 checks passed
@yaacovCR yaacovCR deleted the resolve-info-class branch January 26, 2026 12:19
yaacovCR added a commit to yaacovCR/graphql-js that referenced this pull request Jan 27, 2026
<img width="840" height="142" alt="image"
src="https://github.com/user-attachments/assets/b55da6ae-d50b-40b6-b454-dc949ec4faf0"
/>

this is a breaking change only because `buildResolveInfo()` is
technically accessible via deep import
yaacovCR added a commit to yaacovCR/graphql-js that referenced this pull request Feb 10, 2026
Sadly, this would break existing users that resolver functions by spreading the info argument.
yaacovCR added a commit to yaacovCR/graphql-js that referenced this pull request Feb 11, 2026
Sadly, this would break existing users that resolver functions by spreading the info argument.
yaacovCR added a commit that referenced this pull request Feb 11, 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
<img width="840" height="142" alt="image"
src="https://github.com/user-attachments/assets/b55da6ae-d50b-40b6-b454-dc949ec4faf0"
/>

this is a breaking change only because `buildResolveInfo()` is
technically accessible via deep import
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
<img width="840" height="142" alt="image"
src="https://github.com/user-attachments/assets/b55da6ae-d50b-40b6-b454-dc949ec4faf0"
/>

this is a breaking change only because `buildResolveInfo()` is
technically accessible via deep import
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
<img width="840" height="142" alt="image"
src="https://github.com/user-attachments/assets/b55da6ae-d50b-40b6-b454-dc949ec4faf0"
/>

this is a breaking change only because `buildResolveInfo()` is
technically accessible via deep import
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
<img width="840" height="142" alt="image"
src="https://github.com/user-attachments/assets/b55da6ae-d50b-40b6-b454-dc949ec4faf0"
/>

this is a breaking change only because `buildResolveInfo()` is
technically accessible via deep import
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
<img width="840" height="142" alt="image"
src="https://github.com/user-attachments/assets/b55da6ae-d50b-40b6-b454-dc949ec4faf0"
/>

this is a breaking change only because `buildResolveInfo()` is
technically accessible via deep import
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
<img width="840" height="142" alt="image"
src="https://github.com/user-attachments/assets/b55da6ae-d50b-40b6-b454-dc949ec4faf0"
/>

this is a breaking change only because `buildResolveInfo()` is
technically accessible via deep import
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
<img width="840" height="142" alt="image"
src="https://github.com/user-attachments/assets/b55da6ae-d50b-40b6-b454-dc949ec4faf0"
/>

this is a breaking change only because `buildResolveInfo()` is
technically accessible via deep import
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