Uni Ecto Plugin __link__ Today
Includes controls for glow intensity, animation speed, masking, and color mapping. Typical Use Cases
Mimics Ecto changesets in Unity, allowing you to catch basic validation errors (like string length or missing fields) before hitting the network.
The uni_ecto_plugin sits between Triplex and a manual implementation. It gives you the safety rails of multi-tenancy without locking you into a specific storage strategy.
defmodule User do use Ecto.Schema use UniEctoPlugin.SoftDelete uni ecto plugin
schema "comments" do field :content, :string timestamps() end end
def all_tenants do # Could be a DB query or a static list ["public", "tenant_customer_a", "tenant_customer_b"] end end
Uni introduces the concept of . A step is a single, pure (or controlled-effect) unit of work. Steps are composed into Pipelines . Uni guarantees that if a step fails (returns :error, term ), the pipeline halts immediately—similar to a with statement but on steroids. It gives you the safety rails of multi-tenancy
If you are an Elixir developer using Phoenix Framework and Ecto, you have likely heard the siren call of the .
# lib/my_app/accounts/user_registration.ex defmodule MyApp.Accounts.UserRegistration do use Uni.Step import Uni.Ecto
Have you used the uni_ecto_plugin in production? Share your experiences in the comments below. Steps are composed into Pipelines
Mastering Uni Ecto: The Seamless Bridge Between Unity and Elixir
:uni_ecto_plugin, "~> 0.1.0"
Without such a plugin, handling UNIs in Ecto requires manual parsing, custom Ecto.Type implementations, and repetitive resolution logic.


