View Source Ash.Resource.Transformers.DefaultPrimaryKey (ash v2.14.17)
Creates the default primary key if one applies.
Currently, the only resources that get a default primary key are embedded resources. The reason for this is that resources must have a primary key, and embedded resources actually make sense without one. But this is simulated with a private uuid primary key.
Summary
Functions
Callback implementation for Spark.Dsl.Transformer.after?/1
.
Callback implementation for Spark.Dsl.Transformer.after_compile?/0
.
Callback implementation for Spark.Dsl.Transformer.before?/1
.
Callback implementation for Spark.Dsl.Transformer.transform/1
.
Functions
Callback implementation for Spark.Dsl.Transformer.after?/1
.
Callback implementation for Spark.Dsl.Transformer.after_compile?/0
.
Callback implementation for Spark.Dsl.Transformer.before?/1
.
Callback implementation for Spark.Dsl.Transformer.transform/1
.