AbsintheGenerator.Mutation (absinthe_generator v0.1.1) View Source

We can utilize this module to generate mutation files to be imported into the schema.ex

Definitions

  • :app_name - Required. Application name you're generating the code under

  • :mutation_name - Required. The query or mutation namespace to organize the code under

  • :moduledoc - Moduledoc message can be injected into the resulting output code

  • :mutations - List of %AbsintheGenerator.Schema.Field{}

Link to this section Summary

Link to this section Types

Specs

t() :: %AbsintheGenerator.Mutation{
  app_name: String.t(),
  moduledoc: String.t(),
  mutation_name: String.t(),
  mutations: [AbsintheGenerator.Schema.Field.t()]
}