When to use field :default in an Ecto schema Flop Part 2

🥷 Dodge Runtime Exceptions with Compile Time Config

Runtime Exceptions are the bane of my existence.

How do we maintain compiler benefits while using behaviors?

With a little bit of compile-time config, that’s how.

Get the secret: https://johnelmlabs.com/posts/compile-time-config

See on twitter