How to type-check graphql
operations in a CI/build step
#344
-
Apologies if this is answered somewhere but I haven't been able to figure it out yet. If I have a GraphQL operation that is not valid, it is correctly identified in my IDE (VsCode). However, I haven't been able to figure out a way to include a build/typecheck step in CI or locally which will flag these issues via We recently hit an issue where our CI passed after a refactor to our GraphQL schema which resulted in invalid operations defined in app code. There operation is invalid because there is an additional required field in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Our CLI had a check command https://gql-tada.0no.co/reference/gql-tada-cli and the CI workflow is documented in our docs as well |
Beta Was this translation helpful? Give feedback.
Our CLI had a check command https://gql-tada.0no.co/reference/gql-tada-cli and the CI workflow is documented in our docs as well