You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However it feels like in some cases this code should be OK.
RFC7643 §6 indicates that sometimes extensions are required, and sometimes they are optional:
required A Boolean value that specifies whether or not the schema
extension is required for the resource type. If true, a
resource of this type MUST include this schema extension and
also include any attributes declared as required in this schema
extension. If false, a resource of this type MAY omit this
schema extension. REQUIRED.
scim2-models should offer a way to mark extensions to be required or optional.
In the meantime, a good default could be to consider extensions as optional, so the previous code would work.
The text was updated successfully, but these errors were encountered:
Due to the following code, extension payload is required in resource creation payloads:
https://github.com/yaal-coop/scim2-models/blob/972bd8f01c157fc5720d90461e60d5da26fb7748/scim2_models/rfc7643/resource.py#L139
However it feels like in some cases this code should be OK.
RFC7643 §6 indicates that sometimes extensions are required, and sometimes they are optional:
scim2-models should offer a way to mark extensions to be required or optional.
In the meantime, a good default could be to consider extensions as optional, so the previous code would work.
The text was updated successfully, but these errors were encountered: