graphql-engine/server/src-lib/Hasura/Backends/DataConnector
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
..
Adapter Allow collecting metadata dependencies and inconsistencies separately 2022-11-15 17:00:11 +00:00
Agent Increase timeout for DC Agents 2022-07-27 07:19:44 +00:00
Logging.hs server: support 128-bit trace ids 2022-09-20 02:50:06 +00:00
Plan.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00