Skip to content

Enforce immutable mutability checks at runtime in PATCH operations#137

Merged
azmeuk merged 1 commit intomainfrom
patch-delete-immutable
Apr 2, 2026
Merged

Enforce immutable mutability checks at runtime in PATCH operations#137
azmeuk merged 1 commit intomainfrom
patch-delete-immutable

Conversation

@azmeuk
Copy link
Copy Markdown
Member

@azmeuk azmeuk commented Apr 2, 2026

Move immutable field validation from parse-time to runtime in patch(), where the resource instance is available. This aligns with RFC 7644 §3.5.2 which allows adding a value to an immutable attribute only if it had no previous value, and tolerates no-op operations (remove on unset fields, replace with identical value).

Move immutable field validation from parse-time to runtime in patch(),
where the resource instance is available. This aligns with RFC 7644
§3.5.2 which allows adding a value to an immutable attribute only if
it had no previous value, and tolerates no-op operations (remove on
unset fields, replace with identical value).
@azmeuk azmeuk force-pushed the patch-delete-immutable branch from f9aa332 to af3be1b Compare April 2, 2026 17:16
@azmeuk azmeuk merged commit 7fa466d into main Apr 2, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant