ash v0.1.3 API Reference
Modules
The primary interface for interrogating apis and resources.
An Api allows you to interact with your resources, anc holds non-resource-specific configuration.
The primary entry point for interacting with resources and their data.
An ETS (Erlang Term Storage) backed Ash Datalayer, for testing.
A filter expression in Ash.
A resource is a static definition of an entity in your system.
DSL components for declaring resource actions.
The representation of a create action.
The representation of a destroy action
The representation of a read action
The representation of a update action
A DSL component for declaring attributes
The entrypoint for the Ash DSL documentation and interface.
DSL components for declaring relationships.
The representation of a belongs_to relationship
Defines an ecto schema for a resource.
This behaviour is a superset of the Ecto.Type behavior, that also contains api level information, like what kinds of filters are allowed. Eventually, this may be used for composite types or serialization.
Exceptions
Raised when an api's DSL is incorrectly configured.
Raised when authorization for an action fails
Raised when an internal framework error occurs. These are always bugs.
Raised when a resource's DSL is incorrectly configured.