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
I am currently migrating from express 4.x.x to express 5.x.x. However, the query parsing of an array of string does not work well - the validator fails at recognizing an array, the query param is considered as a string.
So I am wondering to what extent express-open-api is supposed to support Express 5.x.x...? I cannot see anythong in the change-history (but maybe I am not doing right), and coerceType is deprecated, so I don't know what to do...
Remark : req.query does not inherit from Object.prototype anymore ([Object: null prototype]), and maybe it is not supported by express-open-api for now...?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am currently migrating from express 4.x.x to express 5.x.x. However, the query parsing of an array of string does not work well - the validator fails at recognizing an array, the query param is considered as a string.
So I am wondering to what extent express-open-api is supposed to support Express 5.x.x...? I cannot see anythong in the change-history (but maybe I am not doing right), and coerceType is deprecated, so I don't know what to do...
Remark : req.query does not inherit from Object.prototype anymore ([Object: null prototype]), and maybe it is not supported by express-open-api for now...?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions