package graphql_ppx
GraphQL PPX rewriter for Bucklescript/ReasonML
Install
Dune Dependency
Authors
Maintainers
Sources
v1.0.1.tar.gz
md5=bcf43590b569405282f698ad5bdb45f9
sha512=644479f8fc2760cf202c4bce04cb5cf6e1a8f38fcc9a68583c92b8c4fe614c58d4d28e29a21935ef01f3b049d3ebea14ae6eaebf01000ec2a69cf62105338d8a
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)"
>