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
Normally you wouldn't track generated data in git; however we deliberately keep these resources under version control:
4
+
5
+
-`schema.graphql` is compared during upgrades, migrations and pull requests so you can see what has changed and ensure there’s no accidental GraphQL regressions
6
+
-`schema.sql` is kept for similar (but database) reasons, and to ensure that all developers are running the same version of the database without accidental differences caused by faulty migration hygeine
7
+
-`schema.json` is used by various tooling (e.g. ESLint) to validate the GraphQL queries; technically we should probably just use schema.graphql for this 🤷♂️
0 commit comments