mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 04:51:35 +03:00
112d206fa6
https://github.com/hasura/graphql-engine-mono/pull/2038 Co-authored-by: Phil Freeman <630306+paf31@users.noreply.github.com> GitOrigin-RevId: 0843bd0610822469f727d768810694b748fec790
15 lines
434 B
Haskell
15 lines
434 B
Haskell
module Hasura.GraphQL.Schema.RemoteSource where
|
|
|
|
import Hasura.GraphQL.Parser
|
|
import Hasura.GraphQL.Schema.Backend
|
|
import Hasura.GraphQL.Schema.Common
|
|
import Hasura.RQL.Types.RemoteRelationship
|
|
import Hasura.SQL.AnyBackend
|
|
|
|
|
|
remoteSourceField
|
|
:: forall b r m n
|
|
. MonadBuildSchema b r m n
|
|
=> AnyBackend (RemoteSourceRelationshipInfo b)
|
|
-> m [FieldParser n (AnnotatedField b)]
|