Deprecate a field
To deprecate a custom field, navigate to the Schema Editor for the schema you want to edit. Select the field that you want to deprecate from the Structure section of the canvas, followed by Deprecate from the Field Properties.
A dialog appears to confirm your choices and notify you that the field will be removed from the UI view of the union schema and hidden from downstream UIs. To complete the action, select Confirm.
The field is now removed from the UI view.
Show deprecated fields
To view previously deprecated fields, navigate to the relevant schema in the Schema Editor. Select the Show deprecated fields checkbox in the Composition section of the canvas.
The deprecated field now appears in the UI view. Select Save to confirm your settings.
Undeprecate fields
To undo a deprecated field, first display the deprecated field as described above, then select the deprecated field from the editor’s Structure section. Next, select Undeprecate from the Field properties sidebar followed by Save.
The Undeprecate field dialog appears. To confirm your changes, select Confirm.
The field now displays as standard in the UI view and also in downstream UIs. Again, you now have the option to deprecate the field.