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
TypeError: Cannot set property query of #<IncomingMessage> which has only a getter
at expressJoiValidator (...\node_modules\express-joi-validation\express-joi-validation.js:81:21)
Which leads here
I assume it happens due to sanitization. Anything that can be done about it? Thanks.
The text was updated successfully, but these errors were encountered:
Seems like the query object has changed per express 5.x migration docs. I guess it might be necessary to change this module's behaviour to set a new validatedQuery or similar on req. Not ideal, since this is a breaking change.
If possible, I'd love to see a major release supporting Express v5. It's not going to be widely adopted for a long time, but I've seen people (myself included) tinker with it on pet projects.
When using with Express v5 you get an error like
Which leads here
I assume it happens due to sanitization. Anything that can be done about it? Thanks.
The text was updated successfully, but these errors were encountered: