AbsintheGenerator.Resolver (absinthe_generator v0.1.2) View Source

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

Definitions

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

  • :resolver_name (String.t/0) - Required. name of the resolver

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

  • :resolver_functions (list of String.t/0) - 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