Elixir library that provides macros which allow you to encapsulate business logic and validate incoming parameters with predefined contract.
- elixir
- coercion
- ddd
- operation-invocation
63,766 visible repositories in the index
1–2 of 2 · Most stars
Elixir library that provides macros which allow you to encapsulate business logic and validate incoming parameters with predefined contract.
Mason uses superpowers to coerce maps into structs. This is helpful e.g. when you interface a REST API and want to create a struct from the response.