mix absinthe.gen.type (absinthe_generator v0.1.1) View Source

Generates an Absinthe Type

Options

Specifying Types

To specify types we can utilize the following syntax

type_name:enum:VALUE_1:VALUE_2:VALUE_3
type_name:object:name:string:birthday:date:names:list_of(string)

Example

mix absinthe.gen.type
  animal:enum:CAT:DOG
  user:object:name:string:birthday:date:id:id:animal:animal
  --app-name MyApp
  --type-name people

Link to this section Summary

Functions

Callback implementation for Mix.Task.run/1.

Link to this section Functions

Callback implementation for Mix.Task.run/1.