mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 04:51:35 +03:00
90d3192df2
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2903 Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com> GitOrigin-RevId: 11fd6efe8cea246471e525cfb5bad66fa53ccaf9
17 lines
407 B
Haskell
17 lines
407 B
Haskell
module Hasura.GraphQL.Schema.RemoteSource
|
|
( remoteSourceField,
|
|
)
|
|
where
|
|
|
|
import Hasura.GraphQL.Parser
|
|
import Hasura.GraphQL.Schema.Backend
|
|
import Hasura.GraphQL.Schema.Common
|
|
import Hasura.RQL.Types.Relationships.FromSource
|
|
import Hasura.SQL.AnyBackend
|
|
|
|
remoteSourceField ::
|
|
forall b r m n.
|
|
MonadBuildSchema b r m n =>
|
|
AnyBackend (RemoteSourceFieldInfo b) ->
|
|
m [FieldParser n (AnnotatedField b)]
|