cjoudrey / graphql-schema-linter

Validate GraphQL schema definitions against a set of rules
MIT License
694 stars 62 forks source link

Linter not working after updating to 1.0.0 #252

Closed lillem4n closed 4 years ago

lillem4n commented 4 years ago

I get the following error in my console:

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: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)
    at ignoreListErrorFilter (/home/lilleman/.../node_modules/graphql-schema-linter/lib/validator.js:143:39)
    at validateSchemaDefinition (/home/lilleman/.../node_modules/graphql-schema-linter/lib/validator.js:72:68)
    at run (/home/lilleman/.../node_modules/graphql-schema-linter/lib/runner.js:68:58)
lillem4n commented 4 years ago

Duplicate of https://github.com/cjoudrey/graphql-schema-linter/issues/250