Skip to content
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

Supply TData generic removed in GraphQL v15 #6194

Merged
merged 2 commits into from
May 5, 2020
Merged

Supply TData generic removed in GraphQL v15 #6194

merged 2 commits into from
May 5, 2020

Conversation

durchanek
Copy link
Contributor

@durchanek durchanek commented Apr 25, 2020

Sets typings for data to pre graphql@15 state and consistent with https://github.com/graphql/graphql-js/blob/master/src/execution/execute.d.ts#L48
Related to #6111

@apollo-cla
Copy link

@durchanek: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

@durchanek durchanek closed this Apr 25, 2020
@durchanek durchanek reopened this Apr 25, 2020
@durchanek
Copy link
Contributor Author

Also closes #6125

durchanek and others added 2 commits May 5, 2020 15:21
Instead, we can use our own FetchResult<T> type everywhere that
ExecutionResult<T> was previously used.

Fixes #6220 and #6125.
Copy link
Member

@benjamn benjamn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @durchanek!

Note: I took the liberty of removing all internal uses of ExecutionResult, in favor of our FetchResult<TData> type.

@benjamn benjamn merged commit e811672 into apollographql:master May 5, 2020
benjamn added a commit that referenced this pull request May 5, 2020
This version does *not* include my big PR #6221, which should be coming in
the _next_ beta release. Code changes in beta.45 (since beta.44) include

  * #6194 by @durchanek
  * #6107 by @hwillson

as well as several documentation PRs.
CarsonF added a commit to SeedCompany/cord-field that referenced this pull request May 7, 2020
apollographql/apollo-client#6194

Unfortunately they have a release which is breaking semver, hence the need for the manual resolution.
apollographql/apollo-client#6146
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants