@onehat/data 1.19.11 → 1.19.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Repository/Ajax.js +1 -1
- package/src/Schema/Schema.js +3 -0
package/package.json
CHANGED
package/src/Repository/Ajax.js
CHANGED
|
@@ -488,7 +488,7 @@ class AjaxRepository extends Repository {
|
|
|
488
488
|
* @returns {entity} The newly updated entity
|
|
489
489
|
* @fires reloadEntity,beforeLoad,changeData,load,error
|
|
490
490
|
*/
|
|
491
|
-
|
|
491
|
+
async reloadEntity(entity, callback = null) { // use this notation so we can override it in subclasses
|
|
492
492
|
if (this.isDestroyed) {
|
|
493
493
|
this.throwError('this.reloadEntity is no longer valid. Repository has been destroyed.');
|
|
494
494
|
return;
|
package/src/Schema/Schema.js
CHANGED