package graphql_ppx

  1. Overview
  2. Docs
type error_marker = {
  1. mutable has_error : bool;
}
val raise_error_with_loc : Source_pos.ast_location -> string -> 'a
val raise_error : ('a -> Source_pos.ast_location) -> 'a -> string -> 'b
val some_or : 'a option -> 'a -> 'a
val capitalize_ascii : string -> string
val uncapitalize_ascii : string -> string
type output_config = {
  1. map_loc : (Source_pos.source_position * Source_pos.source_position) -> Source_pos.ast_location;
  2. delimiter : string option;
  3. schema : Schema.schema;
  4. full_document : Graphql_ast.document;
}
val filter_map : ('a -> 'b option) -> 'a list -> 'b list
OCaml

Innovation. Community. Security.