Open andrewzey opened 6 years ago
no fix?
any updates?
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
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