View Source argo_graphql_input_value_definition (argo v1.0.3)
Summary
Types
-type t() :: #argo_graphql_input_value_definition{}.
Functions
-spec add_directive_const(InputValueDefinition, DirectiveConst) -> InputValueDefinition when InputValueDefinition :: t(), 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(LanguageInputValueDefinition) -> InputValueDefinition when LanguageInputValueDefinition :: argo_graphql_language_input_value_definition:t(), InputValueDefinition :: t().
-spec is_required(InputValueDefinition) -> boolean() when InputValueDefinition :: t().
-spec new(Name, Type) -> InputValueDefinition when Name :: argo_types:name(), Type :: argo_graphql_type:t(), InputValueDefinition :: t().
-spec set_default_value(InputValueDefinition, OptionDefaultValue) -> InputValueDefinition when InputValueDefinition :: t(), OptionDefaultValue :: none | {some, argo_graphql_value_const:t()}.
-spec set_description(InputValueDefinition, OptionDescription) -> InputValueDefinition when InputValueDefinition :: t(), OptionDescription :: none | {some, unicode:unicode_binary()}.