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

Default non-defined graphql operations to have 0 complexity #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BasKiers
Copy link

This fixes the TypeError: Cannot read properties of undefined (reading 'name') reported by #84 and #85.

Defaulting to 0 complexity seems reasonable as we cannot reason about fields for which we do not have a type definition.

@BasKiers BasKiers force-pushed the fix/ignore-non-defined-graphql-operations branch 2 times, most recently from 4b959b3 to 4be85d8 Compare September 19, 2023 13:34
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

Successfully merging this pull request may close these issues.

None yet

1 participant