AbsintheGenerator.Type (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

Link to this section Summary

Link to this section Types

Specs

t() :: %AbsintheGenerator.Type{
  app_name: String.t(),
  enums: [AbsintheGenerator.Type.EnumValue.t()],
  moduledoc: term(),
  objects: [AbsintheGenerator.Type.Object.t()],
  type_name: String.t()
}

Link to this section Functions

Link to this function

maybe_add_non_null(type_struct)

View Source
Link to this function

maybe_string_atomize_type(field_type)

View Source