Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Validate input queries against remote schemas.
Synopsis
- errorToText :: ValidationError -> Text
- validateToSchemaRelationship :: MonadError ValidationError m => ToSchemaRelationshipDef -> LHSIdentifier -> RelName -> (RemoteSchemaInfo, IntrospectionResult) -> HashMap FieldName joinField -> m (HashMap FieldName joinField, RemoteSchemaFieldInfo)
Documentation
errorToText :: ValidationError -> Text Source #
validateToSchemaRelationship :: MonadError ValidationError m => ToSchemaRelationshipDef -> LHSIdentifier -> RelName -> (RemoteSchemaInfo, IntrospectionResult) -> HashMap FieldName joinField -> m (HashMap FieldName joinField, RemoteSchemaFieldInfo) Source #
Validate a remote schema relationship given a context.