graphql-engine/server/src-lib/Hasura/GraphQL/Schema/RemoteSource.hs-boot
Antoine Leblanc 90d3192df2 Unified remote relationship metadata
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
2021-12-01 04:54:30 +00:00

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)]