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

Hasura.RemoteSchema.SchemaCache.RemoteRelationship

Description

Validate input queries against remote schemas.

Synopsis

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.