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.
When using
scimmy-routerswith 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.