2021-11-04 19:08:33 +03:00
|
|
|
module Hasura.GraphQL.Schema.RemoteSource
|
|
|
|
( remoteSourceField,
|
|
|
|
)
|
|
|
|
where
|
2021-09-22 13:43:05 +03:00
|
|
|
|
2021-09-24 01:56:37 +03:00
|
|
|
import Hasura.GraphQL.Parser
|
|
|
|
import Hasura.GraphQL.Schema.Backend
|
|
|
|
import Hasura.GraphQL.Schema.Common
|
2021-12-01 07:53:34 +03:00
|
|
|
import Hasura.RQL.Types.Relationships.FromSource
|
2021-09-24 01:56:37 +03:00
|
|
|
import Hasura.SQL.AnyBackend
|
2021-09-22 13:43:05 +03:00
|
|
|
|
2021-09-24 01:56:37 +03:00
|
|
|
remoteSourceField ::
|
|
|
|
forall b r m n.
|
|
|
|
MonadBuildSchema b r m n =>
|
2021-12-01 07:53:34 +03:00
|
|
|
AnyBackend (RemoteSourceFieldInfo b) ->
|
2021-09-24 01:56:37 +03:00
|
|
|
m [FieldParser n (AnnotatedField b)]
|