Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The RQL metadata query ('v1metadata')
Synopsis
- data RQLMetadata
- runMetadataQuery :: (MonadIO m, MonadError QErr m, MonadBaseControl IO m, HasAppEnv m, HasCacheStaticConfig m, HasFeatureFlagChecker m, MonadTrace m, MonadMetadataStorage m, MonadResolveSource m, MonadEventLogCleanup m, ProvidesHasuraServices m, MonadGetPolicies m, UserInfoM m) => AppContext -> RebuildableSchemaCache -> WebsocketCloseOnMetadataChangeAction -> RQLMetadata -> m (EncJSON, RebuildableSchemaCache)
Documentation
data RQLMetadata Source #
The payload for the v1metadata
endpoint. See:
https://hasura.io/docs/latest/graphql/core/api-reference/metadata-api/index/
Instances
FromJSON RQLMetadata Source # | |
Defined in Hasura.Server.API.Metadata parseJSON :: Value -> Parser RQLMetadata Source # parseJSONList :: Value -> Parser [RQLMetadata] Source # |
runMetadataQuery :: (MonadIO m, MonadError QErr m, MonadBaseControl IO m, HasAppEnv m, HasCacheStaticConfig m, HasFeatureFlagChecker m, MonadTrace m, MonadMetadataStorage m, MonadResolveSource m, MonadEventLogCleanup m, ProvidesHasuraServices m, MonadGetPolicies m, UserInfoM m) => AppContext -> RebuildableSchemaCache -> WebsocketCloseOnMetadataChangeAction -> RQLMetadata -> m (EncJSON, RebuildableSchemaCache) Source #