dotansimha / dotansimha/graphql-code-generator
Add documentMode=source
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
I currently playing around with graphql-tag and graphql-tag.macro and ask myself. Why isnt there a
documentMode=source. This way I could completely remove graphql as client dependency.
I experimented with documentMode=documentNode but other then graphql-tag it did not generate a source property.
Rather I ask myself, why we need the documentNode? I only need the source to execute the query not the ast of the document node.
So I would like to suggest to add a documentMode=source with generates simply a string with the full source including a fragment for each query.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.