Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(0 , _extendSchema.getDescription) is not a function #287

Open
m3lnic opened this issue Jun 1, 2021 · 0 comments
Open

(0 , _extendSchema.getDescription) is not a function #287

m3lnic opened this issue Jun 1, 2021 · 0 comments

Comments

@m3lnic
Copy link

m3lnic commented Jun 1, 2021

Running the schema linter against our schema results in the following error:

It looks like you may have hit a bug in graphql-schema-linter.

It would be super helpful if you could report this here: https://github.com/cjoudrey/graphql-schema-linter/issues/new

TypeError: (0 , _extendSchema.getDescription) is not a function
    at Object.InputValueDefinition (/Users/{name}/Documents/pl-backend/node_modules/graphql-schema-linter/lib/rules/input_object_values_have_descriptions.js:15:44)
    at Object.enter (/Users/{name}/Documents/pl-backend/node_modules/graphql/language/visitor.js:324:29)
    at Object.enter (/Users/{name}/Documents/pl-backend/node_modules/graphql/language/visitor.js:375:25)
    at visit (/Users/{name}/Documents/pl-backend/node_modules/graphql/language/visitor.js:242:26)
    at validate (/Users/{name}/Documents/pl-backend/node_modules/graphql/validation/validate.js:73:24)
    at validateSchemaDefinition (/Users/{name}/Documents/pl-backend/node_modules/graphql-schema-linter/lib/validator.js:70:43)
    at run (/Users/{name}/Documents/pl-backend/node_modules/graphql-schema-linter/lib/runner.js:68:58)

Running GraphQL version 14.7.0 and we are using it alongside Apollo so we are currently staying on this version. The node version is 14.17.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant