Skip to content

feat: Forbid bulkId field#143

Closed
NaqGuug wants to merge 543 commits into
python-scim:mainfrom
NaqGuug:feat/bulk-id-validation
Closed

feat: Forbid bulkId field#143
NaqGuug wants to merge 543 commits into
python-scim:mainfrom
NaqGuug:feat/bulk-id-validation

Conversation

@NaqGuug

@NaqGuug NaqGuug commented May 3, 2026

Copy link
Copy Markdown
Contributor

Fixes #18

azmeuk added 30 commits November 2, 2024 15:42
UnionType does not exist in Python 3.9
For some reasons list["Attribute"] is not valid in Python 3.10- but
List["Attribute"] is.
This reverts commit 5cfdf0a.

This was not compatible with Pydantic 2.10
azmeuk and others added 26 commits April 2, 2026 17:20
…ns (python-scim#137)

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).
…n-scim#138)

Extract public replace() method on Resource to verify that immutable
fields have not been modified, per RFC 7644 §3.5.1. Deprecate the
'original' parameter of model_validate().
Pydantic-compatible Annotated markers that inject a SCIM Context during
validation and serialization. Works with any framework that respects                                                        Annotated metadata.
Enforce RFC 7644 §3.5.1 PUT semantics: readOnly fields are copied
from the original resource, and omitted immutable fields are preserved
instead of being nulled out.
@NaqGuug NaqGuug closed this Jun 18, 2026
@NaqGuug NaqGuug force-pushed the feat/bulk-id-validation branch from 6fd5b58 to 8c1c453 Compare June 18, 2026 11:48
@NaqGuug

NaqGuug commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Yeah I completely broke the history. Probably will come back to this and other bulk stuff once #146 is closed, overall performance is improved and we have better understanding how to keep the models fast with required validation.

@frohrlich

Copy link
Copy Markdown

Hi @NaqGuug , just so you know, I'm currently working on the complete bulk implementation.
(I work at yaal.coop with @azmeuk )

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.

Forbid the bulkId id value

7 participants