node-restify-validation
node-restify-validation copied to clipboard
Not Compatible with Restify 7.x.x
trafficstars
All validation rules are completely ignored using Restify 7.x.x. Rolling back to Resitfy 6.4.0 resolves the issue for me, and everything works as before.
I'm running this on Node 8.9.0
no fix?
any updates?
https://github.com/z0mt3c/node-restify-validation/pull/85 fix here
I'm using Restify v8.3.3 and validations are ignored again.
Is this library still supported currently?
const trendingValidation = {
queries: {
near_lat: { isRequired: true },
near_lng: { isRequired: true },
since: { isRequired: true }
}
};
router.get({ path: '/trending', version: API_VERSION, validation: trendingValidation}, getTrending);
kindly merge the code with master #85 @z0mt3c