Skip to content

Commit

Permalink
Merge pull request #735 from FgForrest/734-when-prices-are-completely…
Browse files Browse the repository at this point in the history
…-reset-on-an-existing-entity-removal-mutation-for-already-dropped-price-might-be-generated

fix(#734): When prices are completely reset on an existing entity, removal mutation for already dropped price might be generated
  • Loading branch information
novoj authored Nov 6, 2024
2 parents 8d90003 + 3e7dfc5 commit 22fc269
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ public int version() {
}),
originalPrices
.stream()
.filter(Droppable::exists)
.filter(it -> priceMutations.get(it.priceKey()) == null)
.map(it -> new RemovePriceMutation(it.priceKey()))
)
Expand Down

0 comments on commit 22fc269

Please sign in to comment.