Uni Ecto Plugin ((free))
# lib/my_app/accounts/user_registration.ex defmodule MyApp.Accounts.UserRegistration do use Uni.Step import Uni.Ecto
...then the uni_ecto_plugin is your best friend. uni ecto plugin
def resolve(uni, _opts) do case MyApp.Fallback.get(uni) do nil -> :error, :uni_not_found record -> :ok, record end end # lib/my_app/accounts/user_registration
defmodule Uni.Plugin do @callback prepare_changeset(changeset :: Ecto.Changeset.t(), opts :: keyword()) :: Ecto.Changeset.t() @callback before_action(action :: :insert | :update | :delete, struct :: struct(), opts :: keyword()) :: :ok, struct() | :error, term() @callback after_action(action :: atom(), result :: term(), opts :: keyword()) :: term() @callback modify_query(query :: Ecto.Query.t(), opts :: keyword()) :: Ecto.Query.t() end It is designed to create "haunting, evolving titles
Add same deps + :decimal, "~> 2.0" .
The plugin provides helper functions for querying:
The uni-ecto plugin is a stylized title effect developed by (now a part of Maxon) as part of their Universe suite of video effects and transitions. It is designed to create "haunting, evolving titles with a glowing fractal-based effect". These effects are inspired by the stylistic looks of popular culture franchises like Ghostbusters and Stranger Things , bringing a ghostly, electric, or fiery aesthetic directly to your projects.