graphql-typed-document-node
graphql-typed-document-node copied to clipboard
feat: allow embedding the operation result type
This will allow tooling such as @graphql-tools/executor-http to infer the execution result type of a TypedDocument and return Promise<AsyncIterable<ExecutionResult<T>>> or Promise<ExecutionResult<T>>, which removes the need of having to do code assertions.
@n1ru4l do we expect any breaking change here? or this should not effect other libs that are using this version of typed-document-node?
🦋 Changeset detected
Latest commit: b6624c58eaa4ccae76af0a18ff0383b0e18d1079
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @graphql-typed-document-node/core | Minor |
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
@n1ru4l I rebased and added changeset. Feel free to merge (just please see my comment above)