graphql-engine/server/tests-py/queries/graphql_query/mysql
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
..
basic.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
mysql-ddl-dml.sql Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
nested_select_article_author.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
nested_select_query_deep.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
nested_select_where_query_author_article.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
offset_1_limit_2.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
offset_2_limit_1.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
query_search_author_view.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
replace_metadata.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
schema_setup_mysql.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
schema_teardown_mysql.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author_col_not_present_err.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author_limit_offset.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author_limit.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author_offset.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author_order_by.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author_quoted_col.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author_where.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author_with_skip_directive.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author_with_skip_include_directive.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author_with_wrong_directive_err.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_author.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
select_query_non_tracked_table_err.yaml Mysql: Simple graphql queries along with offset/limits 2021-08-04 11:43:19 +00:00
select_query_non_tracked_table.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
setup_mysql.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00
teardown_mysql.yaml Add Types/FromIr changes for MySQL to work with the DataLoader 2021-10-21 23:51:17 +00:00