0no-co / GraphQLSP

TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
https://gql-tada.0no.co
MIT License
332 stars 13 forks source link

feat(diagnostics): validate up to date hash #301

Closed JoviDeCroock closed 3 months ago

JoviDeCroock commented 3 months ago

During diagnostics when we see a prefix of sha256 we can assume that we generated the hash, this means we can verify whether it's up to date. This adds a warn diagnostic for persisted-operations and warns you when the hash is up to date with the document.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: c33a6b0bc41e3ab82483beda1ee4db9fadbdfa88

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------- | ----- | | @0no-co/graphqlsp | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR