package graphql

  1. Overview
  2. Docs
type _ arg
type _ arg_typ
type (_, _) arg_list =
  1. | [] : ('a, 'a) arg_list
  2. | :: : 'a arg * ('b, 'c) arg_list -> ('b, 'a -> 'c) arg_list
val arg : ?doc:string -> string -> typ:'a arg_typ -> 'a arg
val arg' : ?doc:string -> string -> typ:'a option arg_typ -> default:Graphql_parser.const_value -> 'a arg
type 'a fixpoint = {
  1. obj : 'src 't 'args. ?doc:string -> string -> fields:('a -> ('t, 'args) arg_list) -> coerce:'args -> 't option arg_typ;
}
val fix : ('a fixpoint -> 'a) -> 'a
val scalar : ?doc:string -> string -> coerce:(Graphql_parser.const_value -> ('a, string) Stdlib.result) -> 'a option arg_typ
val enum : ?doc:string -> string -> values:'a enum_value list -> 'a option arg_typ
val obj : ?doc:string -> string -> fields:('a, 'b) arg_list -> coerce:'b -> 'a option arg_typ
val int : int option arg_typ
val string : string option arg_typ
val bool : bool option arg_typ
val float : float option arg_typ
val guid : string option arg_typ
val list : 'a arg_typ -> 'a list option arg_typ
val non_null : 'a option arg_typ -> 'a arg_typ
OCaml

Innovation. Community. Security.