(modifier, ...args)
| 121 | } |
| 122 | |
| 123 | modify(modifier, ...args) { |
| 124 | if (!modifier) { |
| 125 | return this; |
| 126 | } |
| 127 | |
| 128 | modifier = createModifier({ |
| 129 | modifier, |
| 130 | modelClass: this.modelClass(), |
| 131 | modifiers: this._modifiers, |
| 132 | }); |
| 133 | |
| 134 | modifier(this, ...args); |
| 135 | return this; |
| 136 | } |
| 137 | |
| 138 | reject(error) { |
| 139 | this._explicitRejectValue = error; |
no test coverage detected