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
This restify plugin seems great and well documented, I'm trying to use it in my project but with lack of efficacity =/ .
I followed your instructions from initialization to usage but does not seem to work.
Here is the usage done in a simple route with parameters in the URL but when I try to access it without userId the response part is called without any verification.
Concerning the error personalization restify changed their error api and split it into a separate package restify-errors: const validator = new RequestValidator(restify.BadRequestError);
into const validator = new RequestValidator(new restify-errors.BadRequestError("personalized message"));
The text was updated successfully, but these errors were encountered:
Hi
This restify plugin seems great and well documented, I'm trying to use it in my project but with lack of efficacity =/ .
I followed your instructions from initialization to usage but does not seem to work.
Here is the usage done in a simple route with parameters in the URL but when I try to access it without userId the response part is called without any verification.
Concerning the error personalization restify changed their error api and split it into a separate package restify-errors:
const validator = new RequestValidator(restify.BadRequestError);
into
const validator = new RequestValidator(new restify-errors.BadRequestError("personalized message"));
The text was updated successfully, but these errors were encountered: