dotansimha / dotansimha/graphql-typed-document-node

Export TypedDocumentString

Open
#163 4 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
412
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Right now, if we use [`documentMode: 'string'`](https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#documentmode) the `graphql-codegen` tool will generate a definition for a `TypedDocumentString` type into our project. That makes it hard to name the same type from a library like https://github.com/octokit/graphql.js that wants to pass a string through instead of parsing it to a DocumentNode first. It's not obvious that this is the right home for that type, but it seems like the closest existing library.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.