ash v0.10.0 Ash.Resource.Transformers.CachePrimaryKey View Source

Validates the primary key of a resource, and caches it in :persistent_term for fast access

Link to this section Summary

Link to this section Functions

Callback implementation for Ash.Dsl.Transformer.after?/1.

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

Callback implementation for Ash.Dsl.Transformer.compile_time_only?/0.

Link to this function

transform(resource, dsl_state)

View Source

Callback implementation for Ash.Dsl.Transformer.transform/2.