From e3e04f8c25427f4850ac407b44a7eea7a6264bdf Mon Sep 17 00:00:00 2001 From: micimize Date: Sat, 6 Feb 2021 17:15:20 -0600 Subject: [PATCH] fix(client): hotfix dataIdFromObject passthrough in cache.readQuery --- packages/graphql/lib/src/cache/_normalizing_data_proxy.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/graphql/lib/src/cache/_normalizing_data_proxy.dart b/packages/graphql/lib/src/cache/_normalizing_data_proxy.dart index 99fed7a62..d290f0996 100644 --- a/packages/graphql/lib/src/cache/_normalizing_data_proxy.dart +++ b/packages/graphql/lib/src/cache/_normalizing_data_proxy.dart @@ -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