mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
17 lines
460 B
Plaintext
17 lines
460 B
Plaintext
|
module Hasura.GraphQL.Schema.RemoteRelationship
|
||
|
( remoteRelationshipField,
|
||
|
)
|
||
|
where
|
||
|
|
||
|
import Hasura.GraphQL.Parser
|
||
|
import Hasura.GraphQL.Schema.Common
|
||
|
import Hasura.Prelude
|
||
|
import Hasura.RQL.IR.Root qualified as IR
|
||
|
import Hasura.RQL.Types.Relationships.Remote
|
||
|
|
||
|
remoteRelationshipField ::
|
||
|
forall r m n lhsJoinField.
|
||
|
(MonadBuildSchemaBase r m n) =>
|
||
|
RemoteFieldInfo lhsJoinField ->
|
||
|
m (Maybe [FieldParser n (IR.RemoteRelationshipField UnpreparedValue)])
|