API Reference rivet v1.0.5

modules

Modules

This project is still a "Work in Progress" and not ready for GA

Optional configurations can be specified as opts, or in the project spec under the key :rivet

For data models using Ecto. Options:

short_id: false — enable/disable ShortId (not supported yet) required: [:field, ...] — list of fields required for this model update: [:field, ...] — list of fields allowed to be updated on this model create: [:field, ...] — list of additional fields allowed only on creation.

For data models using Ecto.

Helper functions for Absinthe resolvers.

mix-tasks

Mix Tasks

Prints Rivet tasks and their information.

Initialize a Rivets project. For full syntax try: mix rivet help

Commit Rivet Migrations. For full syntax try: mix rivet help

Create a new Rivet Model or Model Migration. For full syntax try: mix rivet help