Skip to content
Astera Technology

Specify immutability beyond a read-only-looking field

Define the data result when an edit tries to change a stable identity.

Compare the rule with concrete cases

Original fictional note has ID N7 and title Draft. Title may be edited; ID cannot change after creation. A submitted edit asking for ID N8 and title Final is rejected as a whole under this model. Merely displaying the ID as text does not specify the saved effect.

Filled synthetic modelling cases
Edit requestID afterTitle afterResult
Title Final onlyN7FinalAccepted
ID N8 onlyN7DraftRejected
ID N8 and title FinalN7DraftWhole edit rejected
Download editable CSV ↓

Work through the distinction

State whether invalid identity edits reject the entire change or ignore just that field. Here the whole-edit rule means a rejected ID request must not partly save the new title.

After the combined rejected edit, which record remains?

Show the worked answer

N7 with title Draft. Neither requested change took effect.

Acceptance wording to adapt

After creation, reject any note edit that changes note_id. On rejection preserve all original fields. Permit a title-only edit while retaining note_id unchanged.

Related resources