This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/node_modules/@graphql-codegen/visitor-plugin-common/cjs/base-types-visitor.js b/node_modules/@graphql-codegen/visitor-plugin-common/cjs/base-types-visitor.js | |
| index c2efc26..7b7ba33 100644 | |
| --- a/node_modules/@graphql-codegen/visitor-plugin-common/cjs/base-types-visitor.js | |
| +++ b/node_modules/@graphql-codegen/visitor-plugin-common/cjs/base-types-visitor.js | |
| @@ -261,18 +261,13 @@ class BaseTypesVisitor extends base_visitor_js_1.BaseVisitor { | |
| return `import${useTypeImports ? ' type' : ''} { ${identifier} } from '${source}';`; | |
| } | |
| handleEnumValueMapper(typeIdentifier, importIdentifier, sourceIdentifier, sourceFile) { | |
| - if (importIdentifier !== sourceIdentifier) { | |
| - // use namespace import to dereference nested enum |