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

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