graphql-engine/server/src-lib/Hasura/RQL/DDL
Antoine Leblanc 0aaf006c25 server: add metadata for DB-DB remote joins
### Description

This PR is the first of several PRs meant to introduce Generalized Joins. In this first PR, we add non-breaking changes to the Metadata types for DB-to-DB remote joins. Note that we are currently rejecting the new remote join format in order to keep folks from breaking their metadata (in case of a downgrade). These issues will be tackled (and JSON changes reverted) in subsequent PRs.

This PR also changes the way we construct the schema cache, and breaks the way we process sources in two steps: we first resolve each source and construct a cache of their tables' raw info, then in a second step we build the source output. This is so that we have access to the target source's tables when building db-to-db relationships.

### Notes

- this PR contains a few minor cleanups of the schema
- it also fixes a bug in how we do renames in remote schema relationships
- it introduces cross-source schema dependencies

https://github.com/hasura/graphql-engine-mono/pull/1727

Co-authored-by: Evie Ciobanu <1017953+eviefp@users.noreply.github.com>
GitOrigin-RevId: f625473077bc5fff5d941b70e9a116192bc1eb22
2021-07-22 23:07:10 +00:00
..
Metadata server: add metadata for DB-DB remote joins 2021-07-22 23:07:10 +00:00
Permission server: cleanup backend types in permissions 2021-06-09 19:43:27 +00:00
Relationship server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00
RemoteRelationship server: add metadata for DB-DB remote joins 2021-07-22 23:07:10 +00:00
RemoteSchema server: rewrite remote input parsers to deal with partial variable expansion (fix hasura/graphql-engine#6656) 2021-05-24 20:13:47 +00:00
Schema server: add metadata for DB-DB remote joins 2021-07-22 23:07:10 +00:00
Action.hs server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00
ApiLimit.hs server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00
ComputedField.hs server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00
CustomTypes.hs server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00
Deps.hs server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00
Endpoint.hs server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00
EventTrigger.hs Fix/custom table name 2021-05-18 13:37:27 +00:00
GraphqlSchemaIntrospection.hs server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00
Headers.hs server: misc cleanups 2021-06-15 15:06:37 +00:00
InheritedRoles.hs server: inherited roles improvements for select permissions only 2021-07-16 21:19:58 +00:00
Metadata.hs server: add metadata for DB-DB remote joins 2021-07-22 23:07:10 +00:00
Permission.hs server: inherited roles improvements for select permissions only 2021-07-16 21:19:58 +00:00
QueryCollection.hs server: relax unique operation name constraint in a query collection 2021-07-21 12:05:50 +00:00
Relationship.hs Server: Use a bespoke type for nullability instead of Bool 2021-05-28 10:40:15 +00:00
RemoteRelationship.hs server: add metadata for DB-DB remote joins 2021-07-22 23:07:10 +00:00
RemoteSchema.hs server, console, docs: add update_remote_schema API 2021-06-21 17:42:40 +00:00
ScheduledTrigger.hs server: fix cron trigger bug of new events not getting generated when cron trigger is imported via metadata 2021-05-26 16:20:19 +00:00
Schema.hs server: misc cleanups 2021-06-15 15:06:37 +00:00