Cqrs.Absinthe.derive_mutation_input

You're seeing just the macro derive_mutation_input, go back to Cqrs.Absinthe module for more information.
Link to this macro

derive_mutation_input(command_module, opts \\ [])

View Source (macro)

Defines an Absinthe input_object for a Command.

Options

  • :as - The name to use for the query. Defaults to the command_module name snake_cased with _input appended.
  • :arg_types - A list of filter names to absinthe types. See example.
  • :required - A list of command fields to make required; regardless of how they are defined in the command module.