mason
Coerce maps into structs. This is helpful e.g. when you interface a REST API and want to create a struct from the response.
- from
- Elixir
- added
- 2026-10-10
- likes
- 0
similar
-
mergo github.com
Helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements.
-
mason github.com
-
mox github.com
Mocks and explicit contracts for Elixir.
-
ecto_factory hex.pm
Easily generate structs based on your ecto schemas.
-
struct github.com
-
exconstructor github.com
An Elixir library for generating struct constructors that handle external data with ease.
Elixir › Algorithms and Data structures: “Coerce maps into structs. This is helpful e.g. when you interface a REST API and want to create a struct from the response.”