View Source Absinthe.Type.Argument (absinthe v1.7.6)
Used to define an argument.
Usually these are defined using Absinthe.Schema.Notation.arg/2
Summary
Types
@type t() :: %Absinthe.Type.Argument{ __private__: Keyword.t(), __reference__: Absinthe.Type.Reference.t(), default_value: any(), definition: module(), deprecation: Absinthe.Type.Deprecation.t() | nil, description: binary() | nil, identifier: term(), name: binary(), type: Absinthe.Type.identifier_t() }
Argument configuration
:name
- The name of the argument, usually assigned automatically usingAbsinthe.Schema.Notation.arg/2
.:type
- The type values the argument accepts/will coerce to.:deprecation
- Deprecation information for an argument, usually set-up usingAbsinthe.Schema.Notation.deprecate/1
.:description
- Description of an argument, useful for introspection.
The __private__
and __reference__
fields are for internal use.