Open gerdemb opened 7 months ago
this just means we need to update graphql, or we need to re-use the version in the project if it's available. these rulesets are entirely determined by the graphql version the LSP is shipping with currently
I am having this problem only intermittently so I suspect it may be something wrong with my development environment. Feel free to close this issue if you think it's not related to this package.
Thank you! It still may be a problem on our end if I'm incorrect, so I'm going to keep this open until I have time to add tests to confirm that it works as it should, and fix the bug if not
it appears we're still bundling with the latest version of graphql
, so perhaps the latest specifiedRules
still need to be updated to make this the default? these are what we use as the default rules for validation, and then the custom validation rules can be specified. if there is something we need to override to make this possible we can - for example, replacing the rule i linked to with another that supports fragment variables, or whatever path they chose to implement this spec
Is there an existing issue for this?
Current Behavior
Has flag this validation error on the
Account
query:Variable "$date" is never used in operation "Accounts".GraphQL: Validation
. Actual code works as expected.graphql.config.js
Using
VSIX
release found here: https://github.com/graphql/graphiql/pull/3521Expected Behavior
Doesn't show validation error.
Steps To Reproduce
No response
Environment
react
Version:graphql
Version:Anything else?
No response