View Source argo_graphql_value_const (argo v1.0.10)
Summary
Types
-type inner() :: null | {float, float()} | {int, integer()} | {string, unicode:unicode_binary()} | {boolean, boolean()} | {enum, argo_types:name()} | {list, list_value_const()} | {object, object_value_const()}.
-type list_value_const() :: [argo_graphql_value_const:t()].
-type object_value_const() :: argo_index_map:t(argo_types:name(), argo_graphql_value_const:t()).
-type t() :: #argo_graphql_value_const{inner :: argo_graphql_value_const:inner()}.
Functions
-spec enum(EnumValue) -> ValueConst when EnumValue :: argo_types:name(), ValueConst :: t().
-spec format(Formatter1, Type :: t()) -> Formatter2 when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
-spec from_language(LanguageValue) -> Value when LanguageValue :: argo_graphql_language_value_const:t(), Value :: t().
-spec list(ListValueConst) -> ValueConst when ListValueConst :: list_value_const(), ValueConst :: t().
-spec null() -> ValueConst when ValueConst :: t().
-spec object(ObjectValueConst) -> ValueConst when ObjectValueConst :: object_value_const(), ValueConst :: t().
-spec string(StringValue) -> ValueConst when StringValue :: unicode:unicode_binary(), ValueConst :: t().