-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add Context types for graphql-ts export #7877
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 01cfbc0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 01cfbc0:
|
941a411
to
2a9c5cf
Compare
68da8c2
to
c915c5c
Compare
c915c5c
to
364950b
Compare
364950b
to
55ee1bd
Compare
55ee1bd
to
01cfbc0
Compare
* merge graphql schemas with list schemas * add contextualised type capability for graphql-ts extensions * add changeset Co-authored-by: Daniel Cousens <dcousens@users.noreply.github.com>
* merge graphql schemas with list schemas * add contextualised type capability for graphql-ts extensions * add changeset Co-authored-by: Daniel Cousens <dcousens@users.noreply.github.com>
* merge graphql schemas with list schemas * add contextualised type capability for graphql-ts extensions * add changeset Co-authored-by: Daniel Cousens <dcousens@users.noreply.github.com>
* merge graphql schemas with list schemas * add contextualised type capability for graphql-ts extensions * add changeset Co-authored-by: Daniel Cousens <dcousens@users.noreply.github.com>
This pull request adds support for the capability to add
: Context
as a type refinement when doing GraphQL extensions.Fundamentally this is still no different to a cast of
as Context
.For the future, we will look at things like #7733, but for now this will be an improvement for many using these types.