graphql-engine/server/tests-py/queries/graphql_query
Chris Done 459a7adbfb Add Types/FromIr changes for MySQL to work with the DataLoader
While it looks like a lot of work in FromIr.hs, you can rather review the type changes in `Hasura.Backends.MySQL.Types.Internal` and the changes to FromIr are only to reflect that. Essentially we're simplifying the FromIr code to not think about SQL-based joins: instead, FromIr produces fields necessary for the dataloader Plan/Execute to do their job properly.

I've done my best to ensure that all the hunks in the diff in this PR are minimal for slightly easier perusing.

I think future PRs will be more intentionally well structured, rather than created retroactively.

**Preceding PR:** #2549

**Next PR**: #2367

The tests have been run like this on my machine. I don't know more beyond that.

```
docker run -i -e "PYTEST_ADDOPTS=--color=yes" -e "TERM=xterm-256color" --net=host -v`pwd`:`pwd` -w`pwd`/server/tests-py chrisdone/hasura-pytest:b0f26f615 pytest  --hge-urls="http://localhost:8080"  --pg-urls="postgres://chinook:chinook@localhost:5432/chinook"  --backend mysql -k MySQL
```

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2608
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
GitOrigin-RevId: a6483335c3036963360dde7d7d7eaf10859351cb
2021-10-21 23:51:17 +00:00
..
agg_perm [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
aggregations server: add type information to aggregates and stringify them (closes #5704) 2021-01-18 13:52:51 +00:00
allowlist server: revert the relaxing of unique name constraint in allow-lists 2021-08-03 09:23:20 +00:00
basic server/bigquery: improve test setup and documentation (close #2345) 2021-10-12 17:59:44 +00:00
bigquery server/bigquery: improve test setup and documentation (close #2345) 2021-10-12 17:59:44 +00:00
boolexp MSSQL nodes aggregates & inherited roles 2021-07-08 20:50:09 +00:00
caching [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
citus server: fix failing citus test 2021-07-21 15:28:32 +00:00
computed_fields server/postgres: add test case to test computed field with session argument in where expression 2021-09-30 11:27:37 +00:00
custom_schema [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
empty Prevent empty subscription roots (fix hasura/graphql-engine#6898) 2021-09-16 07:42:46 +00:00
enums [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
functions Correctly translate permissions on functions to SQL, and simplify Bool Exp IR 2021-10-18 09:17:42 +00:00
limits server: introduce new custom scalars and remove offsetParser 2021-06-10 16:14:21 +00:00
mysql Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
offset [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
order_by server/postgres: support computed fields in order by 2021-07-27 16:28:23 +00:00
permissions MSSQL: custom-check based permissions _exists uses wrong table graphql-engine#7429 2021-09-20 10:27:14 +00:00
relay [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
v1alpha1/errors Integration test improvements (for speed/clarity), also increase polling interval for scheduled events 2021-04-27 05:35:26 +00:00