Skip to content

Commit

Permalink
fix(getPrunedForPersistenceState): conflicting requests containing sa…
Browse files Browse the repository at this point in the history
…me resourceNames (#67)
  • Loading branch information
adrienharnay authored Feb 18, 2019
1 parent 512957f commit 4492a7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/internals/persistence/getPrunedForPersistenceState.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const getPrunedForPersistenceState = (
(requestResources, [resourceName, resourceIds]) => ({
...requestResources,
[resourceName]: [
...(allResources[resourceName] || []),
...(requestResources[resourceName] || []),
...resourceIds.map(id => id.toString()),
],
Expand Down

0 comments on commit 4492a7d

Please sign in to comment.