View Source argo_graphql_enum_value_definition (argo v1.0.3)

Summary

Types

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

Functions

Link to this function

add_directive_const(EnumValueDefinition, DirectiveConst)

View Source
-spec add_directive_const(EnumValueDefinition, DirectiveConst) -> EnumValueDefinition
                       when
                           EnumValueDefinition :: t(),
                           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().
Link to this function

from_language(LanguageEnumValueDefinition)

View Source
-spec from_language(LanguageEnumValueDefinition) -> EnumValueDefinition
                 when
                     LanguageEnumValueDefinition ::
                         argo_graphql_language_enum_value_definition:t(),
                     EnumValueDefinition :: t().
-spec new(EnumValue) -> EnumValueDefinition
       when EnumValue :: argo_types:name(), EnumValueDefinition :: t().
Link to this function

set_description(EnumValueDefinition, OptionDescription)

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