View Source Ash.Resource.Transformers.DefaultPrimaryKey (ash v2.9.24)

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.

Link to this section Summary

Link to this section Functions