package graphql_ppx

  1. Overview
  2. Docs
val const_str_expr : string -> Migrate_parsetree__Ast_408.Parsetree.expression
val base_type : ?inner:Migrate_parsetree__Ast_408.Parsetree.core_type list -> ?loc:Migrate_parsetree.Ast_408.Location.t -> string -> Migrate_parsetree__Ast_408.Parsetree.core_type
val generate_type : ?atLoc:Migrate_parsetree.Ast_408.Location.t -> config:'a -> path:Graphql_ppx_base.Extract_type_definitions.path -> raw:bool -> Graphql_ppx_base.Result_structure.t -> Migrate_parsetree__Ast_408.Parsetree.core_type
val wrap_type_declaration : ?loc:'a -> ?manifest:Migrate_parsetree__Ast_408.Parsetree.core_type -> Migrate_parsetree__Ast_408.Parsetree.type_kind -> Graphql_ppx_base.Extract_type_definitions.path -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_opaque : Graphql_ppx_base.Extract_type_definitions.path -> Graphql_ppx_base.Source_pos.ast_location option -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val raw_opaque_object : ('a * 'b list) option -> Graphql_ppx_base.Extract_type_definitions.object_field list -> bool
val already_has__typename : Graphql_ppx_base.Extract_type_definitions.object_field list -> bool
val variant_interface_type : ?name:string -> config:'a -> fragments:(string * Graphql_ppx_base.Result_structure.t) list -> path:string list -> loc:Graphql_ppx_base.Source_pos.ast_location option -> raw:bool -> Migrate_parsetree__Ast_408.Parsetree.core_type
val generate_variant_interface : emit_locations:bool -> name:string -> config:'a -> fragments:(string * Graphql_ppx_base.Result_structure.t) list -> path:string list -> loc:Graphql_ppx_base.Source_pos.ast_location -> raw:bool -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_record_type : config:'a -> obj_path:Graphql_ppx_base.Extract_type_definitions.path -> raw:bool -> loc:Graphql_ppx_base.Source_pos.ast_location -> is_variant:bool -> interface_fragments:(string * 'b list) option -> emit_locations:bool -> Graphql_ppx_base.Extract_type_definitions.object_field list -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_variant_selection : emit_locations:bool -> Graphql_ppx_base.Generator_utils.output_config -> (Graphql_ppx_base.Result_structure.name * Graphql_ppx_base.Result_structure.t) list -> Graphql_ppx_base.Extract_type_definitions.path -> Graphql_ppx_base.Source_pos.ast_location -> bool -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_variant_union : emit_locations:bool -> Graphql_ppx_base.Generator_utils.output_config -> (Graphql_ppx_base.Result_structure.name * Graphql_ppx_base.Result_structure.t) list -> bool -> Graphql_ppx_base.Extract_type_definitions.path -> Graphql_ppx_base.Source_pos.ast_location -> bool -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_enum : emit_locations:bool -> 'a -> string list -> Graphql_ppx_base.Extract_type_definitions.path -> loc:Graphql_ppx_base.Source_pos.ast_location -> bool -> bool -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_object_type : emit_locations:bool -> 'a -> Graphql_ppx_base.Extract_type_definitions.object_field list -> Graphql_ppx_base.Extract_type_definitions.path -> bool -> Graphql_ppx_base.Source_pos.ast_location -> bool -> (string * 'b list) option -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_graphql_object : config:Graphql_ppx_base.Generator_utils.output_config -> obj_path:Graphql_ppx_base.Extract_type_definitions.path -> force_record:bool -> raw:bool -> emit_locations:bool -> loc:Graphql_ppx_base.Source_pos.ast_location -> is_variant:bool -> type_name:string option -> interface_fragments:(string * 'a list) option -> Graphql_ppx_base.Extract_type_definitions.object_field list -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_types : config:Graphql_ppx_base.Generator_utils.output_config -> raw:bool -> emit_locations:bool -> type_name:string option -> fragment_name:'a option -> Graphql_ppx_base.Result_structure.t -> Migrate_parsetree__Ast_408.Parsetree.type_declaration list
val make_fragment_type : Graphql_ppx_base.Generator_utils.output_config -> bool -> string option -> string -> (Graphql_ppx_base.Source_pos.source_position * Graphql_ppx_base.Source_pos.source_position) option -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_type_structure_items : Graphql_ppx_base.Generator_utils.output_config -> Graphql_ppx_base.Result_structure.t -> bool -> string option -> (string * 'a) option -> Migrate_parsetree__Ast_408.Parsetree.structure_item list
val generate_type_signature_items : Graphql_ppx_base.Generator_utils.output_config -> Graphql_ppx_base.Result_structure.t -> bool -> string option -> (string * (Graphql_ppx_base.Source_pos.source_position * Graphql_ppx_base.Source_pos.source_position)) option -> Migrate_parsetree__Ast_408.Parsetree.signature_item list
val generate_arg_type : ?nulls:bool -> bool -> Graphql_ppx_base.Source_pos.ast_location -> Graphql_ppx_base.Extract_type_definitions.extracted_type -> Migrate_parsetree__Ast_408.Parsetree.core_type
val generate_empty_input_object : unit -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_record_input_object : bool -> string option -> Graphql_ppx_base.Extract_type_definitions.input_object_field list -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_object_input_object : bool -> string option -> Graphql_ppx_base.Extract_type_definitions.input_object_field list -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_input_object : bool -> Graphql_ppx_base.Generator_utils.output_config -> string option -> Graphql_ppx_base.Extract_type_definitions.input_object_field list -> Migrate_parsetree__Ast_408.Parsetree.type_declaration
val generate_arg_type_structure_items : bool -> Graphql_ppx_base.Generator_utils.output_config -> Graphql_ppx_base.Graphql_ast.variable_definitions Graphql_ppx_base.Source_pos.spanning option -> Migrate_parsetree__Ast_408.Parsetree.structure_item list
val generate_arg_type_signature_items : bool -> Graphql_ppx_base.Generator_utils.output_config -> Graphql_ppx_base.Graphql_ast.variable_definitions Graphql_ppx_base.Source_pos.spanning option -> Migrate_parsetree__Ast_408.Parsetree.signature_item list
OCaml

Innovation. Community. Security.