-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
RFC7643 §2.3.1 indicates that string types with canonical values defined can or cannot have other values, depending on the server configuration:
Additionally, when "canonicalValues"
is specified, service providers MAY restrict accepted values to the
specified values.
In §7 it is indicated that values can be ignored:
canonicalValues A collection of suggested canonical values that
MAY be used (e.g., "work" and "home"). In some cases, service
providers MAY choose to ignore unsupported values. OPTIONAL.
Currently scim2_models defines custom enums, but that makes pydantic enforce those values only.
In that situation scim2-models should accept both arbitrary and enum values.
Also, when #6 is implemented, scim2-models should generate dynamic enums.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working