Module Init.Graphql_client
val run_exn :
f:
( 'a ->
Uri.t ->
( 'b, [< `Failed_request of string | `Graphql_error of string ] )
Core._result
Async_kernel__Deferred.t ) ->
'c ->
Uri.t Cli_lib.Flag.Types.with_name ->
'd Async_kernel__Deferred.t
val query :
< parse : Yojson.Basic.t -> 'a
; query : string
; variables : Yojson.Basic.t.. > ->
Uri.t Cli_lib.Flag.Types.with_name ->
( 'a, [> `Failed_request of string | `Graphql_error of string ] )
Async_kernel__Deferred_result.t
val query_exn :
< parse : Yojson.Basic.t -> 'a
; query : string
; variables : Yojson.Basic.t.. > ->
Uri.t Cli_lib.Flag.Types.with_name ->
'b Async_kernel__Deferred.t
val query_json_exn :
< query : string ; variables : Yojson.Basic.t.. > ->
Uri.t Cli_lib.Flag.Types.with_name ->
Yojson.Safe.t Async_kernel__Deferred.t