View Source argo_graphql_directives_const (argo v1.0.10)
Summary
Types
-type t() :: #argo_graphql_directives_const{directives :: [argo_graphql_directive_const:t()]}.
Functions
-spec add_directive_const(DirectivesConst, DirectiveConst) -> DirectivesConst when DirectivesConst :: t(), DirectiveConst :: argo_graphql_directive_const:t().
Link to this function
find_directive_const_non_repeatable(DirectivesConst, DirectiveConstName)
View Source-spec find_directive_const_non_repeatable(DirectivesConst, DirectiveConstName) -> {ok, DirectiveConst} | error when DirectivesConst :: t(), DirectiveConstName :: argo_types:name(), DirectiveConst :: argo_graphql_directive_const:t().
Link to this function
find_directive_const_repeatable(DirectivesConst, DirectiveConstName)
View Source-spec find_directive_const_repeatable(DirectivesConst, DirectiveConstName) -> {ok, DirectiveConstList} | error when DirectivesConst :: t(), DirectiveConstName :: argo_types:name(), DirectiveConstList :: [DirectiveConst], DirectiveConst :: argo_graphql_directive_const:t().
-spec format(Formatter1, Type :: t()) -> Formatter2 when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
-spec from_language(LanguageDirectivesConst) -> DirectivesConst when LanguageDirectivesConst :: argo_graphql_language_directives_const:t(), DirectivesConst :: t().
-spec get_directive_const_list(DirectivesConst, DirectiveConstName) -> DirectiveConstList when DirectivesConst :: t(), DirectiveConstName :: argo_types:name(), DirectiveConstList :: [DirectiveConst], DirectiveConst :: argo_graphql_directive_const:t().
Link to this function
get_directive_const_non_repeatable(DirectivesConst, DirectiveConstName)
View Source-spec get_directive_const_non_repeatable(DirectivesConst, DirectiveConstName) -> DirectiveConst when DirectivesConst :: t(), DirectiveConstName :: argo_types:name(), DirectiveConst :: argo_graphql_directive_const:t().
Link to this function
get_directive_const_repeatable(DirectivesConst, DirectiveConstName)
View Source-spec get_directive_const_repeatable(DirectivesConst, DirectiveConstName) -> DirectiveConstList when DirectivesConst :: t(), DirectiveConstName :: argo_types:name(), DirectiveConstList :: [DirectiveConst], DirectiveConst :: argo_graphql_directive_const:t().
-spec new() -> DirectivesConst when DirectivesConst :: t().