graphql-engine/server/tests-py/queries/actions
Antoine Leblanc e3c2bf53a5 Move, document, and prune action types and custom types types.
### Description

This PR is a first step in a series of cleanups of action relationships. This first step does not contain any behavioral change, and it simply reorganizes / prunes / rearranges / documents the code. Mainly:
- it divides some files in RQL.Types between metadata types, schema cache types, execution types;
- it renames some types for consistency;
- it minimizes exports and prunes unnecessary types;
- it moves some types in places where they make more sense;
- it replaces uses of `DMap BackendTag` with `BackendMap`.

Most of the "movement" within files re-organizes declarations in a "top-down" fashion, by moving all TH splices to the end of the file, which avoids order or declarations mattering.

### Optional list types

One main type change this PR makes is a replacement of variant list types in `CustomTypes.hs`; we had `Maybe [a]`, or sometimes `Maybe (NonEmpty a)`. This PR harmonizes all of them to `[a]`, as most of the code would use them as such, by doing `fromMaybe []` or `maybe [] toList`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4613
GitOrigin-RevId: bc624e10df587eba862ff27a5e8021b32d0d78a2
2022-06-07 15:45:00 +00:00
..
async Feature/removable request transform body and modified request transform API 2022-02-17 04:37:18 +00:00
custom-types Move, document, and prune action types and custom types types. 2022-06-07 15:45:00 +00:00
introspection [server] generate the correct type for single-row returning functions 2021-08-11 12:42:30 +00:00
metadata restrict env variables start with HASURA_GRAPHQL_ for headers configuration in actions, event triggers & remote schemas (#5519) 2020-08-05 18:44:53 +05:30
nested-relation Nested action joins 2022-03-03 03:44:20 +00:00
relationships/basic Fixes remote relationships on actions 2022-04-19 17:49:57 +00:00
roles_inheritance server: inherited roles for mutations, remote schemas, actions and custom functions 2021-08-09 10:21:05 +00:00
sync server: add support for custom scalar in action output types 2022-06-03 09:48:26 +00:00
timeout server: do not serialize env vars in logs or errors: PR II - Actions 2022-05-23 11:13:49 +00:00