View Source argo_graphql_type (argo v1.0.6)
Summary
Types
-type inner() :: argo_types:name() | argo_graphql_list_type:t() | argo_graphql_non_null_type:t().
-type t() :: #argo_graphql_type{inner :: argo_graphql_type:inner()}.
Functions
-spec format(Formatter1, Type :: t()) -> Formatter2 when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
-spec from_language(LanguageType) -> Type when LanguageType :: argo_graphql_language_type:t(), Type :: t().
-spec get_base_type(Type) -> Type when Type :: t().
-spec get_type_name(Type) -> NamedType when Type :: t(), NamedType :: argo_types:name().
-spec list_type(ListType) -> Type when ListType :: argo_graphql_list_type:t(), Type :: t().
-spec named_type(NamedType) -> Type when NamedType :: argo_types:name(), Type :: t().
-spec non_null_type(NonNullType) -> Type when NonNullType :: argo_graphql_non_null_type:t(), Type :: t().