package graphql_ppx

  1. Overview
  2. Docs
type output_mode =
  1. | String
  2. | Apollo_AST
type config = {
  1. verbose_logging : bool;
  2. output_mode : output_mode;
  3. verbose_error_handling : bool;
  4. apollo_mode : bool;
  5. root_directory : string;
  6. schema_file : string;
  7. raise_error_with_loc : 'a. Source_pos.ast_location -> string -> 'a;
  8. lean_parse : bool;
}
val config_ref : config option ref
val set_config : config -> unit
val update_config : (config -> config) -> unit
val verbose_logging : unit -> bool
val output_mode : unit -> output_mode
val apollo_mode : unit -> bool
val lean_parse : unit -> bool
val verbose_error_handling : unit -> bool
val root_directory : unit -> string
val schema_file : unit -> string
val raise_error_with_loc : Source_pos.ast_location -> string -> 'a