Skip to content

Commit

Permalink
Fix comment in makeDepKey.
Browse files Browse the repository at this point in the history
Follow-up to 7945544.
  • Loading branch information
benjamn committed Feb 16, 2020
1 parent 3bb384d commit f08ab2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cache/inmemory/entityStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@ class CacheGroup {
}

function makeDepKey(dataId: string, storeFieldName: string) {
// Since field names cannot have newline characters in them, this method
// Since field names cannot have '#' characters in them, this method
// of joining the field name and the ID should be unambiguous, and much
// cheaper than JSON.stringify([dataId, fieldName]).
return fieldNameFromStoreName(storeFieldName) + "#" + dataId;
return fieldNameFromStoreName(storeFieldName) + '#' + dataId;
}

export namespace EntityStore {
Expand Down

0 comments on commit f08ab2a

Please sign in to comment.