Releases: IvanRublev/Domo
Releases · IvanRublev/Domo
v1.5.18
- Fix functions for required fields to skip fields with nillable types (
something | nil
)
v1.5.17
v1.5.15
- Support sum types as element of a list: [a | b]
- Improve compatibility with Elixir 1.16
v1.5.14
- Fix
validate_type/*
function to run without Ecto validate_required warning. - Add
__t__/0
reflection function to each struct using Domo, which returns a binary description of the struct's type spec t(). Useful when you want to know the type Domo validation is built on.
v1.5.10
- Improve compatibility with ElixirLS. After running
mix deps.update domo
, please, remove.elixir_ls
in your project directory and reopen VSCode.
v1.5.9
- Fix the crash when running in the root of the umbrella project having Phoenix hot reload configured in one of the apps.
- Fix to use the current group leader of the caller in ResolvePlanner server for verbose IO messages.
- Rename option
name_of_new_function
togen_constructor_name
. Please, update your project. - Make Domo generated
new!/1/0
andnew/2/1/0
composable instead of overridable, see Custom constructor function section in README.
v1.5.8
- Support validation of the following
Ecto.Schema
types:belongs_to(t)
,has_one(t)
,has_many(t)
,many_to_many(t)
,embeds_one(t)
, andembeds_many(t)
. - The
validate_type/2
function for changesets:- validates required fields automatically for the given
Ecto
schema. - doesn't validate fields of
Ecto.Schema
types are listed above, so the user can explicitly callcast_assoc/2/3
for these fields.
- validates required fields automatically for the given
- Validates any combination of the
term()
with other types as theterm()
. - Domo generated constructor functions
new!/1/0
andnew/2/1/0
become overridable.
v1.5.7
- Fix to resolve mfa() type correctly
- Fix tests to acknowledge the random order of keys in map
v1.5.6
- Fix to remove unnecessary code path to make
mix dialyzer
pass on generated code.
v1.5.5
- Fix to repeatedly run
mix test
andmix dialyzer
without crashes.