Utils.Schema
The async schema
val enum_value :
?doc:string ->
?deprecated:Graphql_async.Schema.deprecated ->
string ->
value:'a ->
'a enum_value
module Arg : sig ... end
module Fields : sig ... end
module Abstract_fields : sig ... end
module Subscription_fields : sig ... end
val field :
?doc:string ->
?deprecated:Graphql_async.Schema.deprecated ->
string ->
typ:( 'a, 'b ) Graphql_async.Schema.typ ->
args:( 'c, 'b, 'd, 'e, 'f ) Arg.args ->
resolve:( 'a Graphql_async.Schema.resolve_info -> 'g -> 'd ) ->
( 'a, 'g ) Graphql_async.Schema.field
val io_field :
?doc:string ->
?deprecated:Graphql_async.Schema.deprecated ->
string ->
typ:( 'a, 'b ) Graphql_async.Schema.typ ->
args:
( 'c,
( 'b, Graphql_async.Schema.field_error ) Stdlib.result
Graphql_async.Schema.Io.t,
'd,
'e,
'f )
Arg.args ->
resolve:( 'a Graphql_async.Schema.resolve_info -> 'g -> 'd ) ->
( 'a, 'g ) Graphql_async.Schema.field
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 Graphql_async.Schema.subscription_field
val abstract_field :
?doc:string ->
?deprecated:Graphql_async.Schema.deprecated ->
string ->
typ:( 'a, 'b ) Graphql_async.Schema.typ ->
args:( 'c, 'b, 'd, 'e, 'f ) Arg.args ->
Graphql_async.Schema.abstract_field
val enum :
?doc:string ->
string ->
values:'a enum_value list ->
( 'b, 'a option ) Graphql_async.Schema.typ
module Propagated : sig ... end
val execute :
'a Graphql_async.Schema.schema ->
'a ->
?variables:Graphql_async.Schema.variables ->
?operation_name:string ->
Graphql_parser.document ->
[ `Response of Yojson.Basic.json
| `Stream of
Yojson.Basic.json Graphql_async.Schema.response
Graphql_async.Schema.Io.Stream.t ]
Graphql_async.Schema.response
Graphql_async.Schema.Io.t
module StringMap = Propagated.StringMap
module Io = Propagated.Io