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

Hasura.RQL.DDL.Schema.Cache.Fields

Documentation

buildRelationship :: forall m b a. (MonadWriter (Seq CollectedInfo) m, ToJSON a, Backend b) => SourceName -> TableName b -> (RelDef a -> Either QErr (RelInfo b, [SchemaDependency])) -> RelType -> RelDef a -> m (Maybe (RelInfo b)) Source #