You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue looks very similar to #1232. I"m running eslint.lintFiles("Queries") repeatedly on a changing set of graphql files. It seems that when a fragment is moved from one file to another between runs, the subsequent runs fail e.g. unknown fragment check.
Issue looks very similar to #1232. I"m running
eslint.lintFiles("Queries")
repeatedly on a changing set ofgraphql
files. It seems that when a fragment is moved from one file to another between runs, the subsequent runs fail e.g.unknown fragment
check.It looks like the following line keeps a global cache which affects subsequent runs: https://github.com/dimaMachina/graphql-eslint/blob/master/packages/plugin/src/siblings.ts#L29
Is there any way to reset that cache?
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox
2. A failing test has been provided
3. A local solution has been provided
4. A pull request is pending review
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior
Environment:
@graphql-eslint/eslint-plugin
:Additional context
The text was updated successfully, but these errors were encountered: