GraphQL Code Generator also support presets - which is a way to manipulate and affect the execution of plugins.
Presets are CLI extensions, that allow manipulation of a
generates section of codegen, based on custom logic.
You can use and writes presets to tell codegen which output files to creates, and what each one should include.
|Name||Purpose||Package Name & Docs|
|Generates operation code near the source file|
|Generate types for inline gql tag usages. Reduces import statement amount and the file count significantly.|
|Allow you to separate base types declarations and the operations that uses it|
|Generates types and resolvers signature for GraphQL-Modules|