View Source argo_graphql_directive_definition (argo v1.0.3)

Summary

Types

Functions

Link to this function

add_argument_definition(DirectiveDefinition, InputValueDefinition)

View Source
-spec add_argument_definition(DirectiveDefinition, InputValueDefinition) -> DirectiveDefinition
                           when
                               DirectiveDefinition :: t(),
                               InputValueDefinition :: argo_graphql_input_value_definition:t().
Link to this function

add_argument_definitions(DirectiveDefinition, InputValueDefinitionList)

View Source
-spec add_argument_definitions(DirectiveDefinition, InputValueDefinitionList) -> DirectiveDefinition
                            when
                                DirectiveDefinition :: t(),
                                InputValueDefinitionList :: [InputValueDefinition],
                                InputValueDefinition :: argo_graphql_input_value_definition:t().
Link to this function

add_directive_location(DirectiveDefinition, DirectiveLocation)

View Source
-spec add_directive_location(DirectiveDefinition, DirectiveLocation) -> DirectiveDefinition
                          when
                              DirectiveDefinition :: t(),
                              DirectiveLocation :: directive_location().
Link to this function

add_directive_locations(DirectiveDefinition, DirectiveLocationList)

View Source
-spec add_directive_locations(DirectiveDefinition, DirectiveLocationList) -> DirectiveDefinition
                           when
                               DirectiveDefinition :: t(),
                               DirectiveLocationList :: [DirectiveLocation],
                               DirectiveLocation :: directive_location().
-spec builtin(DirectiveName) -> {ok, DirectiveDefinition} | error
           when DirectiveName :: argo_types:name(), DirectiveDefinition :: 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().
Link to this function

from_language(LanguageDirectiveDefinition)

View Source
-spec from_language(LanguageDirectiveDefinition) -> DirectiveDefinition
                 when
                     LanguageDirectiveDefinition :: argo_graphql_language_directive_definition:t(),
                     DirectiveDefinition :: t().
-spec new(Name, Repeatable) -> DirectiveDefinition
       when Name :: argo_types:name(), Repeatable :: boolean(), DirectiveDefinition :: t().
Link to this function

set_description(DirectiveDefinition, OptionDescription)

View Source
-spec set_description(DirectiveDefinition, OptionDescription) -> DirectiveDefinition
                   when
                       DirectiveDefinition :: t(),
                       OptionDescription :: none | {some, unicode:unicode_binary()}.