express 5
Closed this issue · 2 comments
TrejGun commented
in express 5 you can't assign to req.query
so the correct way to use plugin would be
import queryTypes from "query-types";
import qs from "qs";
app.set("query parser fn", str => queryTypes.parseObject(qs.parse(str)));
xpepermint commented
Hum ... I'm using req.query
with express 5 in the same way as with version 4. Where exactly you see the problem?
TrejGun commented