graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.RQL.DDL.Metadata

Synopsis

Documentation

runReplaceMetadata :: (CacheRWM m, MetadataM m, MonadIO m, MonadBaseControl IO m, MonadMetadataStorage m, MonadReader r m, MonadError QErr m, Has (Logger Hasura) r, MonadEventLogCleanup m, MonadGetPolicies m) => ReplaceMetadata -> m EncJSON Source #

Replace the 'current metadata' with the 'new metadata' The 'new metadata' might come via the 'Import Metadata' in console