graphql-engine/server/src-lib/Hasura/RQL/DDL
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
..
Metadata server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
Permission server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
Relationship Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
RemoteRelationship server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
RemoteSchema server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
Schema server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
Webhook server: Rework internal webhook request transform components 2022-03-23 20:24:44 +00:00
Action.hs Remove source cache requirement in action schema 2022-06-23 10:52:32 +00:00
ApiLimit.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
ComputedField.hs Add unless/when related hints 2022-05-27 13:34:42 +00:00
CustomTypes.hs Remove source cache requirement in action schema 2022-06-23 10:52:32 +00:00
Endpoint.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
EventTrigger.hs Move, document, and prune action types and custom types types. 2022-06-07 15:45:00 +00:00
GraphqlSchemaIntrospection.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Headers.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
InheritedRoles.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Metadata.hs server: Refactor TByteString to SerializableBlob 2022-06-17 09:57:38 +00:00
Network.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Permission.hs server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
QueryCollection.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
QueryTags.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Relationship.hs Fix a /= [] and add hint. 2022-05-27 12:28:24 +00:00
RemoteRelationship.hs Weeding (2/?) 2022-06-09 16:40:49 +00:00
RemoteSchema.hs Remove unrelated functions from GraphQL.Schema.Common 2022-05-27 15:41:06 +00:00
ScheduledTrigger.hs server: do not serialize env vars in logs or errors: PR III - Event Triggers 2022-06-05 20:28:13 +00:00
Schema.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00