AbsintheGenerator.Type (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:type_name
(String.t/0
) - Required. name of the type:moduledoc
(String.t/0
) - Moduledoc message can be injected into the resulting output code:enums
(list ofkeyword/0
) - List of %AbsintheGenerator.Type.EnumValue
{}:objects
(list ofkeyword/0
) - 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() }