Skip to content

Commit

Permalink
Minor tweak to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Sep 3, 2024
1 parent 468af80 commit b4e5568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache/core/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export abstract class ApolloCache<TSerialized> implements DataProxy {
// calls` cache.identify` and provides that value to `from`. We are
// adding this fix here however to ensure those using plain JavaScript
// and using `cache.identify` themselves will avoid seeing the obscure
// warning when passing `undefined` to `this.identify` below.
// warning.
typeof from === "undefined" || typeof from === "string" ?
from
: this.identify(from),
Expand Down

0 comments on commit b4e5568

Please sign in to comment.