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) Stdlib.Hashtbl.t;
  3. schema : Schema.t;
  4. errors : (Result_structure.loc * string) list Stdlib.ref;
  5. warnings : (Result_structure.loc * string) list Stdlib.ref;
  6. type_stack : Schema.type_meta option list;
  7. type_literal_stack : Schema.type_ref option list;
  8. input_type_stack : Schema.type_meta option list;
  9. input_type_literal_stack : Schema.type_ref option list;
  10. 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) Stdlib.Hashtbl.t
OCaml

Innovation. Community. Security.