mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
e3b46b78a9
These tests ensure that upgrading HGE preserves the GraphQL schema. They do this by running two different versions of HGE against the same metadata, and ensuring that the GraphQL schema doesn't change. We might find that in the future, we make an additive change that makes these tests fail. Improving the tests to allow for this is left as an exercise to whoever triggers it. (Sorry.) Currently, we do this with: * an empty database (zero tracked relations) * the Chinook dataset * the "huge schema" dataset The base version of HGE tested against can be overridden with an option. The version must be available on Docker Hub. Further information is in the Haddock documentation. [NDAT-627]: https://hasurahq.atlassian.net/browse/NDAT-627?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8982 GitOrigin-RevId: 97b4deda1e6fe1db33ce35db02e12c6acc6c29e3 |
||
---|---|---|
.. | ||
src | ||
introspection.gql | ||
upgrade-tests.cabal |