graphql-engine/server/src-lib/Hasura
Auke Booij 6ac67a5566 Allow collecting metadata dependencies and inconsistencies separately
`CollectedInfo` was just an awkward sum type. By using an explicit `Either` instead, we can guarantee at the type level that certain methods only write inconsistencies, or only write dependencies. This is useful, because if we can guarantee that no dependencies are written, then we don't need to run `resolveDependencies` on that part of the Metadata. In other words, we can keep it out of `BuildOutputs`, which greatly benefits performance - see e.g. hasura/graphql-engine-mono#6613.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6765
GitOrigin-RevId: 9ce099d2eee2278dbb6e5bea72063e4b6e064b35
2022-11-15 17:00:11 +00:00
..
Backends Allow collecting metadata dependencies and inconsistencies separately 2022-11-15 17:00:11 +00:00
Base Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Cache server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Eventing Rename get_event_invocations to get_scheduled_event_invocations 2022-11-03 10:23:11 +00:00
GraphQL ghc 9.2.5 2022-11-15 11:26:42 +00:00
Incremental ghc 9.2.5 2022-11-15 11:26:42 +00:00
Metadata pro-server: add support for exporting traces over OTLP 2022-11-07 06:56:08 +00:00
RemoteSchema Allow collecting metadata dependencies and inconsistencies separately 2022-11-15 17:00:11 +00:00
RQL Allow collecting metadata dependencies and inconsistencies separately 2022-11-15 17:00:11 +00:00
Server ghc 9.2.5 2022-11-15 11:26:42 +00:00
SQL NDAT-316 Improve askSourceInfo error reporting _even more_ 2022-11-10 19:24:34 +00:00
Tracing server: support 128-bit trace ids 2022-09-20 02:50:06 +00:00
App.hs Rename get_event_invocations to get_scheduled_event_invocations 2022-11-03 10:23:11 +00:00
EncJSON.hs [server] Fix CockroachDB live queries 2022-11-02 11:41:02 +00:00
GC.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
HTTP.hs Add Data Connector agent request logging, improve error messages, and add tracing support [GDW-83] 2022-07-11 08:05:40 +00:00
Incremental.hs Data connector cache invalidations 2022-09-14 13:00:47 +00:00
Logging.hs server: add jwk-refresh-log type to default enabled logs 2022-11-08 16:48:44 +00:00
Name.hs server/postgres: fix the schema types conflict between aggregation predicates and table selection aggregates 2022-10-21 13:28:43 +00:00
QueryTags.hs server: support query tags for MSSQL data sources 2022-04-28 19:34:45 +00:00
Session.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Tracing.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00