Skip to content

Commit

Permalink
fix(deltaSync): Make sure query manager is initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
elorzafe authored Mar 12, 2019
1 parent 920b47d commit 13a2dec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-appsync/src/deltaSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ const effect = async <TCache extends NormalizedCacheObject>(

boundSaveSnapshot(store, client.cache);

client.initQueryManager();
const dataStore = client.queryManager.dataStore;
const enqueuedActionsFilter = [mutationsConfig.enqueueAction];
enquededMutations
Expand Down

1 comment on commit 13a2dec

@manueliglesias
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Please sign in to comment.