AbsintheGenerator.Type (absinthe_generator v0.1.0) 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:type_name- Required. name of the type:moduledoc- Moduledoc message can be injected into the resulting output code:enums- List of %AbsintheGenerator.Type.EnumValue{}:objects- List of %AbsintheGenerator.Type.Object{}
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()
}