Dilute v2.0.0-rc.0 API Reference

Modules

Ecto.Schema are very similar to Absinthe.Type.Object definitions and are required to be kept in sync. Dilute is able to derive Absinthe objects and their relations based on Ecto.Schema definitions and offers the ability to translate query resolutions into efficient SQL statements.

Adapters serve as a translator between schema libaries and Dilute. One of the build in Adapters is the Ecto adapter, which can be used to derive absinthe object definitions from Ecto schemas.

Ecto query builder for Resolutions.

Query-esque representation for Absinthe.Resolutions.

The Resolver implements the resolve/3 function for the given types and their repo.

Exceptions

Raised during compiletime should an adapter run into unresolvable errors

Raised during compiletime for unrecveralbe errors in the schema