AshGettext.Resource.Transformers.AddEnumLabels (AshGettext v0.1.0)

Copy Markdown View Source

Adds a public <attribute>_label calculation for every attribute whose type is an AshGettext.Enum (or a list of one). A resource that already has a field with that name keeps it.

Summary

Functions

after_compile?()

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

before?(_)

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