@ember-data/store 4.4.0-alpha.9 → 4.5.0-alpha.0

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.
@@ -2436,6 +2436,7 @@ abstract class CoreStore extends Service {
2436
2436
  @param {Object} data
2437
2437
  */
2438
2438
  _load(data: ExistingResourceObject) {
2439
+ // TODO this should determine identifier via the cache before making assumptions
2439
2440
  const resource = constructResource(normalizeModelName(data.type), ensureStringId(data.id), coerceId(data.lid));
2440
2441
 
2441
2442
  let internalModel = internalModelFactoryFor(this).lookup(resource, data);
@@ -2696,6 +2697,7 @@ abstract class CoreStore extends Service {
2696
2697
  }
2697
2698
 
2698
2699
  _pushInternalModel(data) {
2700
+ // TODO type should be pulled from the identifier for debug
2699
2701
  let modelName = data.type;
2700
2702
  assert(
2701
2703
  `You must include an 'id' for ${modelName} in an object passed to 'push'`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-data/store",
3
- "version": "4.4.0-alpha.9",
3
+ "version": "4.5.0-alpha.0",
4
4
  "description": "The default blueprint for ember-cli addons.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -17,8 +17,8 @@
17
17
  "start": "ember serve"
18
18
  },
19
19
  "dependencies": {
20
- "@ember-data/canary-features": "4.4.0-alpha.9",
21
- "@ember-data/private-build-infra": "4.4.0-alpha.9",
20
+ "@ember-data/canary-features": "4.5.0-alpha.0",
21
+ "@ember-data/private-build-infra": "4.5.0-alpha.0",
22
22
  "@ember/string": "^3.0.0",
23
23
  "@embroider/macros": "^1.2.0",
24
24
  "@glimmer/tracking": "^1.0.4",
@@ -29,7 +29,7 @@
29
29
  "ember-cli-typescript": "^5.0.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@ember-data/unpublished-test-infra": "4.4.0-alpha.9",
32
+ "@ember-data/unpublished-test-infra": "4.5.0-alpha.0",
33
33
  "@ember/optional-features": "^2.0.0",
34
34
  "@ember/test-helpers": "^2.6.0",
35
35
  "@types/ember": "^4.0.0",