package graphql_ppx
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/Result_structure/index.html
Module Graphql_ppx_base.Result_structure
type loc = Source_pos.ast_location
type name = string Source_pos.spanning
type field_result =
| Fr_named_field of {
name : string;
loc_key : loc;
loc : loc;
type_ : t;
arguments : Graphql_ast.arguments;
}
| Fr_fragment_spread of {
key : string;
loc : loc;
name : string;
type_name : string option;
arguments : string list;
}
and t =
| Res_nullable of {
}
| Res_array of {
}
| Res_id of {
loc : loc;
}
| Res_string of {
loc : loc;
}
| Res_int of {
loc : loc;
}
| Res_float of {
loc : loc;
}
| Res_boolean of {
loc : loc;
}
| Res_raw_scalar of {
loc : loc;
}
| Res_poly_enum of {
loc : loc;
enum_meta : Schema.enum_meta;
omit_future_value : bool;
}
| Res_custom_decoder of {
}
| Res_record of {
loc : loc;
name : string;
fields : field_result list;
type_name : string option;
interface_fragments : (string * (string * t) list) option;
}
| Res_object of {
loc : loc;
name : string;
fields : field_result list;
type_name : string option;
interface_fragments : (string * (string * t) list) option;
}
| Res_poly_variant_selection_set of {
}
| Res_poly_variant_union of {
loc : loc;
name : string;
fragments : (name * t) list;
exhaustive : exhaustive_flag;
omit_future_value : bool;
}
| Res_poly_variant_interface of {
}
| Res_solo_fragment_spread of {
loc : loc;
name : string;
arguments : string list;
}
| Res_error of {
loc : loc;
message : string;
}
type definition =
| Def_fragment of {
name : string;
variable_definitions : Graphql_ast.variable_definitions Source_pos.spanning option;
has_error : bool;
fragment : Graphql_ast.fragment Source_pos.spanning;
type_name : string option;
inner : t;
}
| Def_operation of {
variable_definitions : Graphql_ast.variable_definitions Source_pos.spanning option;
has_error : bool;
operation : Graphql_ast.operation Source_pos.spanning;
inner : t;
}
val can_be_absent_as_field : t -> bool
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>