Skip to content

Commit

Permalink
Add globalGqlIdentifierName to the types (#8718)
Browse files Browse the repository at this point in the history
* Add globalGqlIdentifierName to the types

* Update packages/utils/plugins-helpers/src/types.ts

* Update packages/utils/plugins-helpers/src/types.ts

* Create violet-tools-fetch.md

Co-authored-by: Saihajpreet Singh <saihajpreet.singh@gmail.com>
  • Loading branch information
AaronBuxbaum and saihaj committed Dec 26, 2022
1 parent 29c49c2 commit 6c6b6f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/violet-tools-fetch.md
@@ -0,0 +1,5 @@
---
"@graphql-codegen/plugin-helpers": patch
---

Add `globalGqlIdentifierName` to the types
4 changes: 4 additions & 0 deletions packages/utils/plugins-helpers/src/types.ts
Expand Up @@ -510,6 +510,10 @@ export namespace Types {
* @description Overrides the name of the default GraphQL name identifier.
*/
globalIdentifier?: string;
/**
* @description Allows to use a global identifier instead of a module import.
*/
globalGqlIdentifierName?: string | string[];
};
/**
* @description Specifies scripts to run when events are happening in the codegen core.
Expand Down

0 comments on commit 6c6b6f2

Please sign in to comment.