AbsintheGen
Scaffold generator for Elixir Absinthe projects
Installation
If available in Hex, the package can be installed
by adding absinthe_gen to your list of dependencies in mix.exs:
def deps do
[
{:absinthe_gen, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/absinthe_gen.
Usage
The scaffold task will generate a schema, a type and a resolver files.
mix absinthe.gen.scaffold my_context my_type [my_field:string]