AbsintheGenerator.Mutation (absinthe_generator v0.1.2) View Source

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

Definitions

  • :app_name (String.t/0) - Required. Application name you're generating the code under

  • :mutation_name (String.t/0) - Required. The query or mutation namespace to organize the code under

  • :moduledoc (String.t/0) - Moduledoc message can be injected into the resulting output code

  • :mutations (list of keyword/0) - 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()]
}