Optional
Readonly
Protected
use hasFieldChange instead. linked issue.
hasFieldChange
remove accessor
Get all the records ids (when the collection uses composite keys)
Get all the records ids selected by an action
Get all the records selected by an action
An array of fields needed in the response
.getRecords(['id', 'isActive', 'name']); Copy
.getRecords(['id', 'isActive', 'name']);
Stop hooks execution and send error to the UI
the error message
.throwError('My error message'); Copy
.throwError('My error message');
Stop hooks execution and send Forbidden error to the UI
the forbidden error message
.throwForbiddenError('My forbidden error message'); Copy
.throwForbiddenError('My forbidden error message');
Stop hooks execution and send Validation error to the UI
the validation error message
.throwValidationError('My validation error message'); Copy
.throwValidationError('My validation error message');
Deprecated
use
hasFieldChangeinstead. linked issue.Todo
remove accessor