AbsintheGenerator.Resolver (absinthe_generator v0.1.1) View Source

We can utilize this module to generate resolver files which are then used in the mutations/queries/subscriptions

Definitions

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

  • :resolver_name - Required. name of the resolver

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

  • :resolver_functions - Resolver functions to inject in, these are just inserted right into the resolver The default value is [].

Link to this section Summary

Link to this section Types

Specs

t() :: %AbsintheGenerator.Resolver{
  app_name: String.t(),
  moduledoc: String.t(),
  resolver_functions: [String.t()],
  resolver_name: String.t()
}

Link to this section Functions