graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.RQL.DDL.Schema.Cache.Dependencies

Synopsis

Documentation

resolveDependencies :: (ArrowKleisli m arr, QErrM m) => (BuildOutputs, [(MetadataObject, SchemaObjId, SchemaDependency)]) `arr` (BuildOutputs, [InconsistentMetadata], DepMap) Source #

Processes collected CIDependency values into a DepMap, performing integrity checking to ensure the dependencies actually exist. If a dependency is missing, its transitive dependents are removed from the cache, and InconsistentMetadatas are returned.