Packages

Contexted is an Elixir library designed to streamline the management of complex Phoenix contexts in your projects, offering tools for module separation, subcontext creation, and auto-generating CRUD operations for improved code maintainability.

Current section

Files

Jump to
contexted lib contexted utils.ex
Raw

lib/contexted/utils.ex

defmodule Contexted.Utils do
@moduledoc """
The `Contexted.Utils` defines utils functions for other modules.
"""
@doc """
Checks is `enable_recompilation` option is set.
"""
@spec recompilation_enabled? :: boolean()
def recompilation_enabled? do
Application.get_env(:contexted, :enable_recompilation)
end
end