Skip to content

4.0.0-alpha.13: node.typeInfo(...).inputType.getFields is not a function #2724

@bmulholland

Description

@bmulholland

4.0.0-alpha.12 works fine, but upgrading to .13 throws the error below.

I figure that this is isolated enough (one commit!) that you probably don't need a repro or anything. But let me know if it's not obvious and I can provide more info.

Below is with ESLint 9.14.0. I believe I also repro'd on 9.15.0 but would want to confirm.

Rule: "@graphql-eslint/no-deprecated"
    at ObjectValue (file:///Users/bmulholland/dev/recital/recital-frontend/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]__gra_j6jwcmpffd355eucckoxqowh74/node_modules/@graphql-eslint/eslint-plugin/esm/rules/no-deprecated/index.js:123:50)
    at ruleErrorHandler (/Users/bmulholland/dev/recital/recital-frontend/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/linter/linter.js:1084:48)
    at /Users/bmulholland/dev/recital/recital-frontend/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/Users/bmulholland/dev/recital/recital-frontend/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/Users/bmulholland/dev/recital/recital-frontend/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/Users/bmulholland/dev/recital/recital-frontend/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/Users/bmulholland/dev/recital/recital-frontend/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/linter/node-event-generator.js:337:14)
    at runRules (/Users/bmulholland/dev/recital/recital-frontend/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/linter/linter.js:1128:40)
    at #flatVerifyWithoutProcessors (/Users/bmulholland/dev/recital/recital-frontend/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/linter/linter.js:1911:31)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions