package graphql-async

  1. Overview
  2. Docs

Module Schema.ArgSource

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

Innovation. Community. Security.