@warp-drive-mirror/json-api 5.7.0-alpha.26 → 5.7.0-alpha.27
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/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -793,7 +793,7 @@ function validateResourceAttributes(reporter, type, resource, path) {
|
|
|
793
793
|
const field = getRemoteField(schema, key);
|
|
794
794
|
const actualField = schema.get(key);
|
|
795
795
|
if (!field && actualField) {
|
|
796
|
-
reporter.warn([...path, key], `Expected the ${actualField.kind} field to not have its own
|
|
796
|
+
reporter.warn([...path, key], `Expected the ${actualField.kind} field "${key}" to not have its own data in the ResourceObject's attributes. Likely this field should either not be returned in this payload or the field definition should be updated in the schema.`);
|
|
797
797
|
} else if (!field) {
|
|
798
798
|
if (key.includes(':')) {
|
|
799
799
|
const extensionName = key.split(':')[0];
|
|
@@ -827,7 +827,7 @@ function validateResourceRelationships(reporter, type, resource, path) {
|
|
|
827
827
|
const field = getRemoteField(schema, key);
|
|
828
828
|
const actualField = schema.get(key);
|
|
829
829
|
if (!field && actualField) {
|
|
830
|
-
reporter.warn([...path, key], `Expected the ${actualField.kind} field to not have its own
|
|
830
|
+
reporter.warn([...path, key], `Expected the ${actualField.kind} field "${key}" to not have its own data in the ResourceObject's relationships. Likely this field should either not be returned in this payload or the field definition should be updated in the schema.`);
|
|
831
831
|
} else if (!field) {
|
|
832
832
|
if (key.includes(':')) {
|
|
833
833
|
const extensionName = key.split(':')[0];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive-mirror/json-api",
|
|
3
|
-
"version": "5.7.0-alpha.
|
|
3
|
+
"version": "5.7.0-alpha.27",
|
|
4
4
|
"description": "A {JSON:API} Cache Implementation for WarpDrive",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@warp-drive-mirror/core": "5.7.0-alpha.
|
|
35
|
+
"@warp-drive-mirror/core": "5.7.0-alpha.27"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@embroider/macros": "^1.16.12",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@babel/plugin-transform-typescript": "^7.27.0",
|
|
45
45
|
"@babel/preset-typescript": "^7.27.0",
|
|
46
46
|
"@types/json-to-ast": "^2.1.4",
|
|
47
|
-
"@warp-drive/internal-config": "5.7.0-alpha.
|
|
48
|
-
"@warp-drive-mirror/core": "5.7.0-alpha.
|
|
47
|
+
"@warp-drive/internal-config": "5.7.0-alpha.27",
|
|
48
|
+
"@warp-drive-mirror/core": "5.7.0-alpha.27",
|
|
49
49
|
"decorator-transforms": "^2.3.0",
|
|
50
50
|
"expect-type": "^1.2.1",
|
|
51
51
|
"typescript": "^5.8.3",
|