mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-30 02:44:10 +03:00
6ac67a5566
`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 |
||
---|---|---|
.. | ||
Metadata | ||
Permission | ||
Relationship | ||
Schema | ||
Webhook | ||
Action.hs | ||
ApiLimit.hs | ||
ComputedField.hs | ||
CustomTypes.hs | ||
DataConnector.hs | ||
Endpoint.hs | ||
EventTrigger.hs | ||
GraphqlSchemaIntrospection.hs | ||
Headers.hs | ||
InheritedRoles.hs | ||
Metadata.hs | ||
Network.hs | ||
Permission.hs | ||
QueryCollection.hs | ||
QueryTags.hs | ||
Relationship.hs | ||
RemoteRelationship.hs | ||
ScheduledTrigger.hs | ||
Schema.hs | ||
SourceKinds.hs |