graphql-engine/server/src-lib/Hasura/RQL/IR
Antoine Leblanc 661a1b6560 Remove source cache requirement in action schema
### Description

This PR removes the need for the `SourceCache` when building the schema for the actions. To do so, it changes the way we represent custom types in the source cache. Instead of trying to reuse the same `ObjectTypeDefinition` and `TypeRelationship`. we now have separate `AnnotatedObjectType` and `AnnotatedRelationship`. When building them, at schema cache building time, we persist all the relevant source information, so that it's all available at schema building time.

This PR makes no attempt at re-using `RemoteRelationship` primitives, to avoid having to change the way async action queries are executed, and to avoid having to make complicated changes to how we parse and represent those relationships.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4813
GitOrigin-RevId: 3cc65c5a043c8d3da5f7214eed40c558c4349327
2022-06-23 10:52:32 +00:00
..
Action.hs Remove source cache requirement in action schema 2022-06-23 10:52:32 +00:00
BoolExp.hs Remove redundant strict data declartions 2022-06-13 13:18:17 +00:00
Conflict.hs server: Improve code readability around OnConflict clauses 2021-12-20 11:16:46 +00:00
Delete.hs server/bigquery: generate graphql schema for table computed fields 2022-05-25 10:25:38 +00:00
Insert.hs Refactor insert mutations IR use of "default values" 2022-04-21 16:34:04 +00:00
OrderBy.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
RemoteSchema.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
Returning.hs server: add infrastructure to write runit tests for update parsers 2022-05-26 14:06:24 +00:00
Root.hs server: disable query/subscription root fields 2022-06-07 05:33:12 +00:00
Select.hs Clean Relay's code, break schema cycles, introduce Node ID V2 2022-06-07 13:36:29 +00:00
Update.hs server: add infrastructure to write runit tests for update parsers 2022-05-26 14:06:24 +00:00
Value.hs Move Hasura.GraphQL.Parser.Column to .RQL.IR. and .GraphQL.Schema. 2022-05-30 22:07:57 +00:00