package graphql_ppx

  1. Overview
  2. Docs
type ctx = {
  1. map_loc : (Source_pos.source_position * Source_pos.source_position) -> Result_structure.loc;
  2. fragments : (string, Graphql_ast.fragment) Hashtbl.t;
  3. schema : Schema.schema;
  4. errors : (Result_structure.loc * string) list ref;
  5. type_stack : Schema.type_meta option list;
  6. type_literal_stack : Schema.type_ref option list;
  7. input_type_stack : Schema.type_meta option list;
  8. input_type_literal_stack : Schema.type_ref option list;
  9. parent_type_stack : Schema.type_meta option list;
}
module type VisitorSig = sig ... end
module AbstractVisitor : sig ... end
module Context : sig ... end
val as_schema_type_ref : Graphql_ast.type_ref -> Schema.type_ref
module Visitor (V : VisitorSig) : sig ... end
val find_fragments : Graphql_ast.definition list -> (string, Graphql_ast.fragment) Hashtbl.t
OCaml

Innovation. Community. Security.