View Source argo_graphql_language_non_null_type (argo v1.0.6)
Summary
Types
-type context() :: #{type := argo_graphql_language_named_type:t() | argo_graphql_language_list_type:t()}.
-type t() :: #argo_graphql_language_non_null_type{location :: erl_anno:location(), type :: argo_graphql_language_named_type:t() | argo_graphql_language_list_type:t()}.
Functions
-spec format(Formatter1, Type :: t()) -> Formatter2 when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
-spec parse(Context, Location) -> NonNullType when Context :: context(), Location :: erl_anno:location(), NonNullType :: t().