function
PlacementFieldID
PlacementFieldID derives the stable ID of a field placed at canonical path segments beneath a resource, so every placement of a block definition has its own persistence identity.
Arguments
| Argument | Type | Description |
|---|---|---|
resource | StableID | The resource value. |
path | []string | The path value. |
Returns
The declared result.
StableIDFull signature
func PlacementFieldID(
resource StableID,
path []string,
) StableIDRelated types
StableIDA deterministic identifier for schema evolution.