Any way to enforce persisted IDs to be up to date? #310
-
Hi, I'm trying to enforce that persisted document IDs are always up to date, and I can see that gql.tada offers a code action to keep the id up to date with the document, but I can't see a way to enforce it to be up to date? Is there a way to either:
Appreciate any help/advice here Best, |
Beta Was this translation helpful? Give feedback.
Answered by
JoviDeCroock
May 21, 2024
Replies: 1 comment 3 replies
-
Hey, You should be getting a warning in your CI when running |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
louy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
You should be getting a warning in your CI when running
pnpm gql-tada check
, you can make your CI fail when you enable--fail-on-warn
. The relevant code is here we opt you into this code path when your hash starts withsha256:
.