Skip to content

Bugfix: enums from external fragments were not generated along with operations #17869

Bugfix: enums from external fragments were not generated along with operations

Bugfix: enums from external fragments were not generated along with operations #17869

Triggered via pull request January 18, 2026 18:39
Status Failure
Total duration 6m 50s
Artifacts

main.yml

on: pull_request
Linting Check  /  eslint
2m 31s
Linting Check / eslint
🧹 Prettier Check
2m 38s
🧹 Prettier Check
Testing exports integrity
2m 30s
Testing exports integrity
Examples - Normal
6m 48s
Examples - Normal
Matrix: Validating dev-tests
Matrix: test-watcher
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

25 errors
Linting Check / eslint
Process completed with exit code 1.
Watcher Unit Test on Node 20 (ubuntu-latest) and GraphQL v15
Process completed with exit code 1.
tests/watcher.run.spec.ts: packages/graphql-codegen-cli/src/graphql-config.ts#L5
SyntaxError: Named export 'OperationTypeNode' not found. The requested module 'graphql' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'graphql'; const { Kind, OperationTypeNode, specifiedScalarTypes, DirectiveLocation, } = pkg; ❯ src/graphql-config.ts:5:1
Unit Test on Node 24 (ubuntu-latest) and GraphQL v15
Process completed with exit code 1.
tests/integration.spec.ts: packages/graphql-codegen-cli/src/graphql-config.ts#L5
SyntaxError: The requested module 'graphql' does not provide an export named 'OperationTypeNode' ❯ ../../graphql-codegen-cli/src/graphql-config.ts:5:1
tests/watcher.patterns.spec.ts: packages/graphql-codegen-cli/src/graphql-config.ts#L5
SyntaxError: The requested module 'graphql' does not provide an export named 'OperationTypeNode' ❯ src/graphql-config.ts:5:1
tests/generate-and-save.spec.ts: packages/graphql-codegen-cli/src/graphql-config.ts#L5
SyntaxError: The requested module 'graphql' does not provide an export named 'OperationTypeNode' ❯ src/graphql-config.ts:5:1
tests/config.spec.ts: packages/graphql-codegen-cli/src/graphql-config.ts#L5
SyntaxError: The requested module 'graphql' does not provide an export named 'OperationTypeNode' ❯ src/graphql-config.ts:5:1
tests/codegen.spec.ts: packages/graphql-codegen-cli/src/graphql-config.ts#L5
SyntaxError: The requested module 'graphql' does not provide an export named 'OperationTypeNode' ❯ src/graphql-config.ts:5:1
tests/cli-flags.spec.ts: packages/graphql-codegen-cli/src/graphql-config.ts#L5
SyntaxError: The requested module 'graphql' does not provide an export named 'OperationTypeNode' ❯ src/graphql-config.ts:5:1
tests/client-preset.spec.ts: packages/graphql-codegen-cli/src/graphql-config.ts#L5
SyntaxError: The requested module 'graphql' does not provide an export named 'OperationTypeNode' ❯ ../../graphql-codegen-cli/src/graphql-config.ts:5:1
tests/client-preset.nullability.spec.ts: packages/graphql-codegen-cli/src/graphql-config.ts#L5
SyntaxError: The requested module 'graphql' does not provide an export named 'OperationTypeNode' ❯ ../../graphql-codegen-cli/src/graphql-config.ts:5:1
tests/client-preset.enum.spec.ts: packages/graphql-codegen-cli/src/graphql-config.ts#L5
SyntaxError: The requested module 'graphql' does not provide an export named 'OperationTypeNode' ❯ ../../graphql-codegen-cli/src/graphql-config.ts:5:1
Unit Test on Node 24 (ubuntu-latest) and GraphQL v16
The strategy configuration was canceled because "test.ubuntu-latest_24_15" failed
Unit Test on Node 24 (ubuntu-latest) and GraphQL v16
The operation was canceled.
Unit Test on Node 20 (ubuntu-latest) and GraphQL v16
The strategy configuration was canceled because "test.ubuntu-latest_24_15" failed
Unit Test on Node (windows-latest) and GraphQL v16
The strategy configuration was canceled because "test.ubuntu-latest_24_15" failed
Unit Test on Node 20 (ubuntu-latest) and GraphQL v16
The operation was canceled.
Unit Test on Node (windows-latest) and GraphQL v16
The operation was canceled.
Unit Test on Node 20 (ubuntu-latest) and GraphQL v15
The strategy configuration was canceled because "test.ubuntu-latest_24_15" failed
Unit Test on Node 20 (ubuntu-latest) and GraphQL v15
The operation was canceled.
Unit Test on Node 22 (ubuntu-latest) and GraphQL v16
The strategy configuration was canceled because "test.ubuntu-latest_24_15" failed
Unit Test on Node 22 (ubuntu-latest) and GraphQL v16
The operation was canceled.
Unit Test on Node 22 (ubuntu-latest) and GraphQL v15
The strategy configuration was canceled because "test.ubuntu-latest_24_15" failed
Unit Test on Node 22 (ubuntu-latest) and GraphQL v15
The operation was canceled.