code: function ValidationExtension() {
      var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
          _ref$reject = _ref.reject,
          reject = _ref$reject === undefined ? false : _ref$reject;
  
      _classCallCheck(this, ValidationExtension);
  
      // Store configuration
      var _this = _possibleConstructorReturn(this, (ValidationExtension.__proto__ || Object.getPrototypeOf(ValidationExtension)).call(this, {
        onEntityInstantiate: true,
        onChangeDetected: true
      }));
  
      _this.rejectInvalidValues = reject;
      return _this;
    }
docs: Creates an instance of ValidationExtension.
  @param {bool} reject If true, invalid values won't be assigned to the property
  @memberof ValidationExtension