API Reference contexted v0.3.4

modules

Modules

Contexted helps you structure Phoenix contexts by enforcing separation, allowing modularization, and generating common CRUD operations.

The Contexted.CRUD module generates common CRUD (Create, Read, Update, Delete) functions for a context, similar to what mix phx gen context task generates.

The Contexted.Delegator module provides a macro to delegate all functions defined within a specific module.

The Contexted.ModuleAnalyzer defines utils functions that analyze and extract information from other modules.

The Contexted.Tracer module provides a set of functions to trace and enforce separation between specific modules, known as "contexts".

The Contexted.Utils defines utils functions for other modules.

mix-tasks

Mix Tasks

A custom Elixir compiler task that checks for cross-references between specific modules, known as "contexts".