View Source graphql_err (graphql v0.17.1)
Summary
Types
-type field() :: #field{id :: graphql:name(), args :: [{binary(), #{type := graphql_type(), value := value(), default := undefined | value()}}], directives :: [any()], selection_set :: [any()], alias :: undefined | graphql:name(), schema :: any()}.
-type frag() :: #frag{id :: '...' | graphql:name(), ty :: undefined | graphql_base_type() | graphql_check:ty(), directives :: [graphql:directive()], selection_set :: [#field{id :: graphql:name(), args :: [{binary(), #{type := graphql_type(), value := value(), default := undefined | value()}}], directives :: [any()], selection_set :: [any()], alias :: undefined | graphql:name(), schema :: any()}], schema :: undefined | any()}.
-type graphql_base_type() :: graphql:name() | binary().
-type graphql_type() :: {non_null, graphql_type()} | {list, graphql_type()} | graphql_base_type().
-type op() :: #op{ty :: undefined | operation_type(), id :: graphql:name() | 'ROOT', vardefs :: [#vardef{id :: graphql:name(), ty :: graphql_type(), default :: undefined | value()}] | #{binary() => #vardef{id :: graphql:name(), ty :: graphql_type(), default :: undefined | value()}}, directives :: [graphql:directive()], selection_set :: [#field{id :: graphql:name(), args :: [{binary(), #{type := graphql_type(), value := value(), default := undefined | value()}}], directives :: [any()], selection_set :: [any()], alias :: undefined | graphql:name(), schema :: any()} | #frag_spread{id :: graphql:name(), directives :: [graphql:directive()]}], schema :: undefined | any()}.
-type operation_type() :: {query, pos_integer()} | {mutation, pos_integer()} | {subscription, pos_integer()}.
-type value() :: graphql:name() | null | {int, integer(), pos_integer()} | {float, float(), pos_integer()} | {string, binary(), pos_integer()} | {bool, true | false, pos_integer()} | {enum, binary()} | {list, value()} | {object, [value()]}.