View Source
Estructura
Extensions for Elixir structures.
installation
Installation
def deps do
[
{:estructura, "~> 0.1"},
# optionally you might want to add `boundary` library
# it is used by `estructura` and many other projects
# more info: https://hexdocs.pm/boundary
{:boundary, "~> 0.9", runtime: false}
]
end
I suggest adding boundary
as a dependency since that is used in this project.
changelog
Changelog
0.6.0
—Estructura.Transform
to produce squeezed representations of nested structs0.5.5
— export declarations of bothEstructura
andEstructura.Nested
to docs0.5.4
—Estructura.Nested
allowscast/1
to cast nested structs from maps0.5.3
—Estructura.diff/3
now understands maps0.5.2
—Estructura.diff/3
0.5.1
— [BUG] FixedCollectable
andEnumerable
injected implementations0.5.0
—Estructura.Nested
for nested structures with validation, coercion, and generation0.4.2
— [BUG] Fixed wrong spec forput!/3
0.4.1
—Estructura.LazyMap.keys/1
,Estructura.LazyMap.fetch_all/1
0.4.0
—Estructura.Lazy
,Estructura.LazyMap
0.3.2
—put!/3
0.3.0
—coercion
andvalidation
are now injected as behaviours0.2.0
—coercion
,validation
,put/3