package graphql_ppx

  1. Overview
  2. Docs
GraphQL PPX rewriter for ReScript/ReasonML

Install

Dune Dependency

Authors

Maintainers

Sources

v1.2.2.tar.gz
md5=00455e2a595b925a697fd7e80aab3fb8
sha512=b6e0a5b353b6498c10d03a37ab4a2083ca0d17f227fa906e7c6f07053a7a9198476b7aa7d0e88f4e3c8c44a85469eb3a65805cd6d006ef64ff82fe5bc3524881

doc/graphql_ppx.base/Graphql_ppx_base/Generator_utils/index.html

Module Graphql_ppx_base.Generator_utils

type error_marker = {
  1. mutable has_error : bool;
}
val raise_error_with_loc : Source_pos.ast_location -> string -> 'a
val raise_error : ('a -> Source_pos.ast_location) -> 'a -> string -> 'b
val some_or : 'a option -> 'a -> 'a
val capitalize_ascii : string -> string
val uncapitalize_ascii : string -> string
type output_config = {
  1. map_loc : (Source_pos.source_position * Source_pos.source_position) -> Source_pos.ast_location;
  2. delimiter : string option;
  3. schema : Schema.t;
  4. full_document : Graphql_ast.document;
  5. template_tag : string option * string option * string option;
  6. template_tag_return_type : string option;
  7. template_tag_is_function : bool option;
  8. inline : bool;
  9. future_added_value : bool;
  10. extend : string option;
  11. fragment_in_query : Ppx_config.fragment_in_query;
  12. native : bool;
}
val filter_map : ('a -> 'b option) -> 'a list -> 'b list
OCaml

Innovation. Community. Security.