Ecto Tips: DB UUIDs, Composable Changesets, and boilerplates
Here are some helpful techniques I’ve learned with Ecto over the last several months:
- You can interpolate into @doc. This is really helpful for documenting defaulted, required, and optional fields on changeset docs.
- How to get DB-generated UUIDs with Ecto.
- How to compose changesets together.
Read next Hungarian/Munkres in Elixir