Field Rename¶
What it does¶
Renames a field from one path to another, preserving its value and shape exactly. The simplest and most common strategy — most real API version migrations are mostly this.
When to use it¶
A field's meaning is unchanged between versions, only its name is different. If the field's type also needs to change (e.g. string → integer), see Type Coerce instead, or combine both in a forEach if it's inside an array.
Always lossless
Both directions preserve the value exactly — nothing is computed, dropped, or defaulted.
Example¶
The hub renamed storageGB from the spoke's storageSize:
Rule¶
Objects¶
fieldRename applies identically to status.* paths — see XRDConversionConfig: status fields.