MishkaGervaz.Form.Transformers.BuildDomainConfig (MishkaGervaz v0.0.1-alpha.3)

Copy Markdown View Source

Compiles the domain-level form configuration into a single map and persists it under the :form key of :mishka_gervaz_domain_config.

Runs after MishkaGervaz.Table.Transformers.BuildDomainConfig so the table-side persistence is in place when this transformer reads / writes the same key. Resources later read these defaults via MishkaGervaz.Domain.Info.Form.defaults/1 and inherit them in MishkaGervaz.Form.Transformers.MergeDefaults.

See MishkaGervaz.Form.Dsl.DomainDefaults for the DSL section that declares the values this transformer reads.

Summary

Functions

after_compile?()

Callback implementation for Spark.Dsl.Transformer.after_compile?/0.

before?(_)

Callback implementation for Spark.Dsl.Transformer.before?/1.