no-unreachable-types
based on Object type name
#1539
-
I'm fairly new to GraphQL, so I'm not sure if this is something I'm doing wrong. I have a project that I'd like linted, so I've added I have a few types that are used for paginated queries, and as such are named Unfortunately changing the name of the type results in another error "Object type I only get the unreachable error when using This seems like a bug, but I'm so new to GraphQL and the tools around it, I thought I'd ask here first. The only way I've been able to get around this is to include the entire type in the exceptions object in the rule config, but then I have to update the config every time I add a new paginated query, when I should just be able to follow a naming convention using the suffix config option. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This looks like it might be VSCode. I restarted the ESLint server to no effect, but quitting VSCode and reopening seems to have resolved the error. |
Beta Was this translation helpful? Give feedback.
This looks like it might be VSCode. I restarted the ESLint server to no effect, but quitting VSCode and reopening seems to have resolved the error.