Skip to content

Support scim contexts with model_validate_json() #144

@NaqGuug

Description

@NaqGuug

model_dump(), model_dump_json() and model_validate() already supports scim contexts. However, model_validate_json() with scim contexts is not supported.

Task: Add this support

Example:

user = User.model_validate_json(<str | bytes | bytearray>, scim_ctx=Context.RESOURCE_REPLACEMENT_REQUEST)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions