I’m glad to introduce Estructura
, the library that equips structs with Access
, Enumerable
, and Collectable
implementations, as well as per-field coercion and validation, and generation of StreamData
generator.
This is the result of my experience with what I have been copy-pasting from project to project, that is out there to drastically reduce a boilerplate.
I might or might not have plans to teach it to understand specs in the nearest future.
▸ estructura v0.5.0 — Documentation
▸ GitHub - am-kantox/estructura: Extensions for Elixir structures