Typed Elixir structs without boilerplate code
I’ve written a library to help you define structs with a type, default values and enforced keys thanks to an Ecto-like API.
(Short) article here: https://medium.com/@ejpcmac/typed-elixir-structs-without-boilerplate-c565520691a3
Read next Part #5 of building a weather station using Elixir and Nerves is live!