Schema.Subscription_fields
type (!'ctx, !'src, !'args_to_json, !'out, !'subquery) subscription_field =
( 'ctx, 'src, 'args_to_json, 'out, 'subquery )
Graphql_wrapper.Make(Graphql_async.Schema).Subscription_fields.subscription_field =
{
field : 'ctx Graphql_async.Schema.subscription_field; |
to_json : 'args_to_json; |
name : string; |
}
val subscription_field :
?doc:string ->
?deprecated:Graphql_async.Schema.deprecated ->
string ->
typ:( 'a, 'b ) Graphql_async.Schema.typ ->
args:
( 'c,
( 'b Graphql_async.Schema.Io.Stream.t, Graphql_async.Schema.field_error )
Stdlib.result
Graphql_async.Schema.Io.t,
'd,
'e,
'f )
Arg.args ->
resolve:( 'a Graphql_async.Schema.resolve_info -> 'd ) ->
( 'a,
'g,
'e,
( 'b Graphql_async.Schema.Io.Stream.t, Graphql_async.Schema.field_error )
Stdlib.result
Graphql_async.Schema.Io.t,
'h )
subscription_field