Skip to content

Commit b81f75d

Browse files
committed
fix
1 parent 3bc0369 commit b81f75d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/json-api/src/-private/cache.ts

+3
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,9 @@ export default class JSONAPICache implements Cache {
505505
const store = this._capabilities._store;
506506
const attrs = this._capabilities.schema.fields(identifier);
507507
attrs.forEach((attr, key) => {
508+
if (attr.kind === 'alias') {
509+
return;
510+
}
508511
if (key in attributes && attributes[key] !== undefined) {
509512
return;
510513
}

0 commit comments

Comments
 (0)