Skip to content

Build the storage on the mapping core of scim2-server - #24

Merged
azmeuk merged 1 commit into
mainfrom
mapping-core
Nov 27, 2026
Merged

azmeuk merged 1 commit into
mainfrom
mapping-core

Conversation

@azmeuk

@azmeuk azmeuk commented Nov 27, 2026

Copy link
Copy Markdown
Member

The storage now builds on scim2_server.mapping, which scim2-sqlalchemy shares, and needs scim2-server 0.9.0. What the storage stores and answers does not change, except for the fix below.

  • The system checks keep their identifiers, but some of their messages change. W002 no longer names the model, and E003 says that the relation needs to hold null rather than naming null=True.
  • The checks of the version and of the related records only run once id is mapped to a field. A mapping with several mistakes reports them over several runs.
  • meta.version keeps the same hash, so the versions clients hold stay valid.
  • A sort on a constant of an Entry, such as emails.type, still compares it in the form the database compares strings.
  • A value outside the choices of its field is now refused when the resource comes from the provider of the server, whose model is another class than the one of the mapping. It was stored before.

The declaration, the checks, the filters, the sorts, the reading of the
records and the checks of the writes now come from scim2_server.mapping,
which scim2-sqlalchemy shares. The system checks keep their identifiers,
and some of their messages change.

A value outside the choices of its field is now refused when the resource
comes from the provider of the server, whose model is another class than
the one of the mapping.
@azmeuk
azmeuk enabled auto-merge November 27, 2026 09:09
@azmeuk
azmeuk merged commit 303ef97 into main Nov 27, 2026
15 checks passed
@azmeuk
azmeuk deleted the mapping-core branch November 27, 2026 09:15
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