View Source argo_graphql_directives_const (argo v1.0.0)

Summary

Types

-type t() :: #argo_graphql_directives_const{}.

Functions

Link to this function

add_directive_const(DirectivesConst, DirectiveConst)

View Source
-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().
Link to this function

format(Formatter1, Type)

View Source
-spec format(Formatter1, Type :: t()) -> Formatter2
          when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
-spec format_error(dynamic(), dynamic()) -> dynamic().
Link to this function

from_language(LanguageDirectivesConst)

View Source
-spec from_language(LanguageDirectivesConst) -> DirectivesConst
                 when
                     LanguageDirectivesConst :: argo_graphql_language_directives_const:t(),
                     DirectivesConst :: t().
Link to this function

get_directive_const_list(DirectivesConst, DirectiveConstName)

View Source
-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().