absinthe v0.2.2 Absinthe.Type.Argument
Used to define an argument.
Usually these are defined using the Absinthe.Type.Definitions.args/1
convenience function.
Summary
Types
t :: %{name: binary, type: Absinthe.Type.identifier_t, default_value: any, deprecation: Absinthe.Type.Deprecation.t | nil, description: binary | nil}
Argument configuration
:name
- The name of the argument, usually assigned automatically by theAbsinthe.Type.Definitions.args/1
convenience function.:type
- The type values the argument accepts/will coerce to.:deprecation
- Deprecation information for an argument, usually set-up using theAbsinthe.Type.Definitions.deprecate/1
convenience function.:description
- Description of an argument, useful for introspection.