Skip to content

Commit

Permalink
fix(client): hotfix dataIdFromObject passthrough in cache.readQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
micimize committed Feb 7, 2021
1 parent af5c7a5 commit e3e04f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ abstract class NormalizingDataProxy extends GraphQLDataProxy {
// provided from cache
read: (dataId) => readNormalized(dataId, optimistic: optimistic),
typePolicies: typePolicies,
//dataIdFromObject: dataIdFromObject,
dataIdFromObject: dataIdFromObject,
returnPartialData: returnPartialData,
addTypename: addTypename ?? false,
// if there is partial data, we cannot read and return null
Expand Down

0 comments on commit e3e04f8

Please # to comment.