Skip to content

constraints not being passed to Resource as Number - Express v5 makes req.query immutable #36

Description

@christovic

When using scimmy-routers with Express v5, this code now unfortunately does nothing, with no errors or warnings. The reason there's no errors or warnings, is because we are trying to set the property of the object, and not "set" the object. Setting the object would produce an error.

The end result is the same as this - we are now passing strings to the constructor of SCIMMY's Resource class, which don't get set in the constraintsproperty.

Downgrading to Express v4 exhibits the expected behaviour.

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