@ember-data/model 5.1.1 → 5.1.2

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/addon/-private.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as Model } from "./index-8a7de041";
2
- export { E as Errors, L as LEGACY_SUPPORT, R as ManyArray, P as PromiseBelongsTo, c as PromiseManyArray, a as attr, b as belongsTo, h as hasMany } from "./index-8a7de041";
1
+ import { M as Model } from "./index-372d2028";
2
+ export { E as Errors, L as LEGACY_SUPPORT, R as ManyArray, P as PromiseBelongsTo, c as PromiseManyArray, a as attr, b as belongsTo, h as hasMany } from "./index-372d2028";
3
3
  import { getOwner } from '@ember/application';
4
4
 
5
5
  /*
@@ -858,6 +858,9 @@ class RelatedCollection extends RecordArray {
858
858
  this.push(record);
859
859
  return record;
860
860
  }
861
+ destroy() {
862
+ super.destroy(false);
863
+ }
861
864
  }
862
865
  RelatedCollection.prototype.isAsync = false;
863
866
  RelatedCollection.prototype.isPolymorphic = false;