Concepts
v0.1.6
The concept pages explain how GuardedStruct works underneath: what the builder does when a module compiles and when it runs, and how a derive string is read, in what order its ops run and where each op comes from.
Read them when you want to know why a struct builds or fails the way it does.
- How the builder works How a guardedstruct block compiles and what builder/1 does with an input map: the order of every step, the errors, and how keys become atoms.
- How derives work How derive strings work: sanitize ops run before validate ops, every op runs, nil is skipped, and ops are found in a set order.