Module Graphql_client.Client
val query_json' :
< query : string ; variables : Yojson.Basic.t.. > ->
Uri.t ->
( Yojson.Basic.t, [> `Failed_request of string | `Graphql_error of string ] )
Async_kernel__Deferred_result.t
val query_json :
< query : string ; variables : Yojson.Basic.t.. > ->
Uri.t ->
( Yojson.Safe.t, [> `Failed_request of string | `Graphql_error of string ] )
Async.Deferred.Result.t
val query :
< parse : Yojson.Basic.t -> 'a
; query : string
; variables : Yojson.Basic.t.. > ->
Uri.t ->
( 'a, [> `Failed_request of string | `Graphql_error of string ] )
Async_kernel__Deferred_result.t
val query_exn' :
f:
( 'a ->
'b ->
( 'c, [< `Failed_request of string | `Graphql_error of string ] )
Core._result
Async_kernel__Deferred.t ) ->
'a ->
'b ->
'c Async_kernel__Deferred.t
val query_exn :
< parse : Yojson.Basic.t -> 'a
; query : string
; variables : Yojson.Basic.t.. > ->
Uri.t ->
'a Async_kernel__Deferred.t
val query_json_exn :
< query : string ; variables : Yojson.Basic.t.. > ->
Uri.t ->
Yojson.Safe.t Async_kernel__Deferred.t