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
BREAKING CHANGE:
Validation functions was removed from `Validator` class to enable tree shaking.
BEFORE:
import {Validator} from "class-validator";
const validator = new Validator();
validator.isNotIn(value, possibleValues);
validator.isBoolean(value);
AFTER:
import {isNotIn, isBoolean} from "class-validator";
isNotIn(value, possibleValues);
isBoolean(value);
Closes#258, #248, #247, #212
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
lockbot
locked as resolved and limited conversation to collaborators
Apr 25, 2020
NoNameProvided
changed the title
libphonenumber.js is loaded without using the IsMobilePhone decorator
fix: libphonenumber.js is loaded without using the IsMobilePhone decorator
Aug 8, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The huge library
libphonenumber.js
is loaded, although I did not use the IsMobilePhone decorator.Is it possible to load this library only if we use the decorator?
The text was updated successfully, but these errors were encountered: