graphql-engine/server/src-lib/Hasura/RQL/DDL
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
..
Metadata ghc 9.2.5 2022-11-15 11:26:42 +00:00
Permission Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Relationship Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Schema Allow collecting metadata dependencies and inconsistencies separately 2022-11-15 17:00:11 +00:00
Webhook server: add validation for response transforms 2022-11-14 15:19:23 +00:00
Action.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
ApiLimit.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
ComputedField.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
CustomTypes.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
DataConnector.hs Prevents creation of duplicate GDC agent source kinds. 2022-11-15 00:40:56 +00:00
Endpoint.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
EventTrigger.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
GraphqlSchemaIntrospection.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Headers.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
InheritedRoles.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Metadata.hs server: Simplify BuildOutputs 2022-11-15 12:04:13 +00:00
Network.hs server: Simplify BuildOutputs 2022-11-15 12:04:13 +00:00
Permission.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
QueryCollection.hs Clean up Hasura.Prelude a bit 2022-10-03 21:50:53 +00:00
QueryTags.hs Replace BackendSourceMetadata type alias with a newtype 2022-08-29 00:59:18 +00:00
Relationship.hs ghc 9.2.5 2022-11-15 11:26:42 +00:00
RemoteRelationship.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
ScheduledTrigger.hs Rename get_event_invocations to get_scheduled_event_invocations 2022-11-03 10:23:11 +00:00
Schema.hs Import pg-client-hs as PG 2022-09-20 19:55:51 +00:00
SourceKinds.hs Prevents creation of duplicate GDC agent source kinds. 2022-11-15 00:40:56 +00:00