Module Graphql_internal.Params

type t = {
query : string option;
variables : (string * Yojson.Basic.t) list option;
operation_name : string option;
}
val empty : t
val of_uri_exn : Uri.t -> t
val of_json_body_exn : string -> t
val of_graphql_body : string -> t
val merge : t -> t -> t
val post_params_exn : Cohttp.Request.t -> string -> t
val of_req_exn : Cohttp.Request.t -> string -> t
val extract : Cohttp.Request.t -> string -> ( string * (string * Graphql_parser.const_value) list option * string option, string ) Stdlib.result