# `MishkaGervaz.Form.Transformers.BuildRuntimeConfig`
[🔗](https://github.com/mishka-group/mishka_gervaz/blob/v0.0.1-alpha.3/lib/mishka_gervaz/form/transformers/build_runtime_config.ex#L1)

Compiles the form DSL state into a single runtime-friendly map and
persists it under `:mishka_gervaz_form_config`.

Runs last in the form transformer pipeline (after
`MishkaGervaz.Form.Transformers.ResolveFields`). The compiled config
is read at runtime through `MishkaGervaz.Resource.Info.Form.config/1`
and the surrounding accessors on that module.

Each `build_<section>/n` helper takes the DSL state and returns the
shape that lands under that key in the persisted config. UI
sub-entities flow through one shared `maybe_ui/1` that drops empty
structs to `nil` so accessors don't have to check for placeholder
zero-value structs at runtime.

# `after_compile?`

# `before?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
