:::shell Using yarn
$ yarn add -D @graphql-codegen/named-operations-object
:::
type: string
default: namedOperations
Allow you to customize the name of the exported identifier
generates:
path/to/file.ts:
plugins:
- typescript
- named-operations-object
config:
identifierName: ListAllOperations