Skip to content

Conversation

azmeuk
Copy link
Contributor

@azmeuk azmeuk commented Jul 28, 2025

Patching operations add and replace, when path was an extension schema exactly, were raising invalidPath errors, now they are possible.
Patching delete operation was raising an invalidPath error, and now it raises a noTarget. According to the RFC invalidPath is for invalid or malformed attributes while noTarget is for attribute [...] attribute that could not be operated on. Actually noTarget is only illustrated with unmatching filters, but I suppose this is OK here. Any opinions?

Anyway, according to RFCs extensions can be optional or required, and this is not handled by scim2-models at the moment, so I suppose the behavior should be different for required extensions (i.e. return some kind of error) and for optional ones (i.e. succeed). python-scim/scim2-models#105

@azmeuk azmeuk requested a review from ccoors July 28, 2025 20:35
patching extension roots was raising 'invalidPath' errors
@azmeuk azmeuk force-pushed the patch-extension branch from 2e40cec to be5e036 Compare July 29, 2025 07:28
@azmeuk azmeuk merged commit a08d5c0 into main Jul 29, 2025
6 checks passed
@azmeuk azmeuk deleted the patch-extension branch July 29, 2025 07:29
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.

2 participants