Mina_graphqlmodule Ledger = Mina_ledger.Ledgermodule Schema : sig ... endmodule Option : sig ... endConvert a GraphQL constant to the equivalent json representation. We can't coerce this directly because of the presence of the `Enum constructor, so we have to recurse over the structure replacing all of the `Enums with `Strings.
val result_field_no_inputs :
resolve:( 'a Graphql_async.Schema.resolve_info -> 'b -> 'c ) ->
?doc:string ->
?deprecated:Graphql_async.Schema.deprecated ->
string ->
typ:( 'a, 'd ) Graphql_async.Schema.typ ->
args:
( 'e,
( 'd, Graphql_async.Schema.field_error ) Stdlib.result
Graphql_async.Schema.Io.t,
'f Async.Deferred.t,
'g,
'h )
Schema.Arg.args ->
( 'a, 'i ) Graphql_async.Schema.fieldval result_field :
resolve:( 'a Graphql_async.Schema.resolve_info -> 'b -> 'c -> 'd ) ->
?doc:string ->
?deprecated:Graphql_async.Schema.deprecated ->
string ->
typ:( 'a, 'e ) Graphql_async.Schema.typ ->
args:
( 'f,
( 'e, Graphql_async.Schema.field_error ) Stdlib.result
Graphql_async.Schema.Io.t,
'g ->
'h Async.Deferred.t,
'i,
'j )
Schema.Arg.args ->
( 'a, 'k ) Graphql_async.Schema.fieldval result_field2 :
resolve:( 'a Graphql_async.Schema.resolve_info -> 'b -> 'c -> 'd -> 'e ) ->
?doc:string ->
?deprecated:Graphql_async.Schema.deprecated ->
string ->
typ:( 'a, 'f ) Graphql_async.Schema.typ ->
args:
( 'g,
( 'f, Graphql_async.Schema.field_error ) Stdlib.result
Graphql_async.Schema.Io.t,
'h ->
'i ->
'j Async.Deferred.t,
'k,
'l )
Schema.Arg.args ->
( 'a, 'm ) Graphql_async.Schema.fieldmodule Doc : sig ... endmodule Reflection : sig ... endval get_ledger_and_breadcrumb :
Mina_lib.t ->
(Staged_ledger.Ledger.t * Transition_frontier.Breadcrumb.t) optionmodule Types : sig ... endmodule Subscriptions : sig ... endmodule Mutations : sig ... endmodule Queries : sig ... endval schema : Mina_lib.t Graphql_async.Schema.schemaval schema_limited : Mina_lib.t Graphql_async.Schema.schema