package graphql_ppx

  1. Overview
  2. Docs
type operation_options = {
  1. has_required_variables : bool;
}
type definition =
  1. | Fragment
  2. | Operation of operation_type * operation_options
module StringSet : sig ... end
module VariableFinderImpl : sig ... end
module VariableFinder : sig ... end
val pretty_print : string -> string
val make_fragment_query : string -> Migrate_parsetree__Ast_408.Parsetree.expression
val emit_printed_template_query : Graphql_ppx_base.Graphql_printer.t array -> Graphql_ppx_base.Generator_utils.output_config -> string
val emit_printed_query : Graphql_ppx_base.Graphql_printer.t array -> Graphql_ppx_base.Generator_utils.output_config -> Migrate_parsetree__Ast_408.Parsetree.expression
val emit_json : Graphql_ppx_base.Generator_utils.output_config -> [< `Assoc of (string * 'a) list | `Bool of bool | `Int of int | `List of 'a list | `Null | `String of string | `StringExpr of Graphql_ppx_base.Graphql_printer.t array ] as 'a -> Migrate_parsetree.Ast_408.Parsetree.expression
val wrap_template_tag : ?import:string -> ?location:string -> ?template_tag:string -> string -> string
val wrap_structure_raw : string -> Migrate_parsetree__Ast_408.Parsetree.structure_item
val constraint_on_type : Migrate_parsetree__Ast_408.Parsetree.expression -> string option -> Migrate_parsetree__Ast_408.Parsetree.expression
val wrap_raw : string -> Migrate_parsetree__Ast_408.Parsetree.expression
val signature_module : string -> Migrate_parsetree__Ast_408.Parsetree.signature_item list -> Migrate_parsetree.Ast_408.Parsetree.signature_item
val wrap_module : loc:'a -> ?module_type:Migrate_parsetree.Ast_408.Parsetree.module_type -> string -> Migrate_parsetree__Ast_408.Parsetree.structure_item list -> Migrate_parsetree.Ast_408.Parsetree.structure_item
val get_functor : Graphql_ppx_base.Generator_utils.output_config -> definition -> string option
val wrap_query_module : loc:Location.t -> module_type:Migrate_parsetree.Ast_408.Parsetree.module_type -> definition -> string option -> Migrate_parsetree__Ast_408.Parsetree.structure_item list -> Graphql_ppx_base.Generator_utils.output_config -> Migrate_parsetree__Ast_408.Parsetree.structure_item list
val wrap_query_module_signature : signature:Migrate_parsetree__Ast_408.Parsetree.signature_item list -> definition -> string option -> Graphql_ppx_base.Generator_utils.output_config -> Migrate_parsetree__Ast_408.Parsetree.signature_item list
val generate_modules : string option -> Migrate_parsetree.Ast_408.Parsetree.module_type option -> (Graphql_ppx_base.Result_structure.definition * Graphql_ppx_base.Generator_utils.output_config) list -> Migrate_parsetree__Ast_408.Parsetree.structure_item list
val generate_module_interfaces : string option -> (Graphql_ppx_base.Result_structure.definition * Graphql_ppx_base.Generator_utils.output_config) list -> Migrate_parsetree__Ast_408.Parsetree.signature_item list
OCaml

Innovation. Community. Security.