dotansimha / dotansimha/graphql-code-generator
Add options to minify document (query) when using documentMode String.
Open
core
feature-request
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
**Is your feature request related to a problem? Please describe.**
graphql has a utility function `stripIgnoredCharacters` that will effectively minify any string document. This could help with code size when strings representing queries are embedded in the source.
**Describe the solution you'd like**
I would like a config option that will run `stripIgnoredCharacters` right after `print` on documents.
**Describe alternatives you've considered**
None
**Additional context**
Thanks for this awesome suite of tools!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.