graphql-engine/server/src-lib/Hasura/Server
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
..
API server: add update_source API and extend add_source to edit source customization 2022-06-22 07:07:28 +00:00
Auth server: Fix a bunch of HLint suggestions 2022-06-21 11:12:42 +00:00
Init server: add default naming convention to TenantConfig 2022-06-14 09:18:20 +00:00
Migrate server: Fix a bunch of HLint suggestions 2022-06-21 11:12:42 +00:00
Telemetry server/telemetry: support multiple sources 2022-06-15 08:03:31 +00:00
App.hs server: add default naming convention to TenantConfig 2022-06-14 09:18:20 +00:00
Auth.hs server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
CheckUpdates.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Compression.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Cors.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Init.hs Fixes asyncActionsFetchIntervalEnv help message. 2022-06-23 05:07:13 +00:00
Limits.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Logging.hs server: Refactor TByteString to SerializableBlob 2022-06-17 09:57:38 +00:00
Metrics.hs server: add metric for the metadata resource version 2022-03-08 23:00:27 +00:00
Middleware.hs server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
Migrate.hs Added BackendConfig to allow sources to share configuration of Data Connectors [GDW-78] 2022-04-29 02:14:10 +00:00
Name.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
OpenAPI.hs server: refactor Hasura.GraphQL.Analyse 2022-05-04 10:57:55 +00:00
Rest.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
SchemaCacheRef.hs Add unless/when related hints 2022-05-27 13:34:42 +00:00
SchemaUpdate.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Telemetry.hs Remove source cache requirement in action schema 2022-06-23 10:52:32 +00:00
Types.hs server/telemetry: support multiple sources 2022-06-15 08:03:31 +00:00
Utils.hs Weeding (2/?) 2022-06-09 16:40:49 +00:00
Version.hs server/ci: rework version baking, and cache dist-newstyle in CI 2022-04-05 15:59:09 +00:00