# Example Scenario MockString: CollectionOfStrings: StringA: A MockString: CollectionOfStrings: StringB: B MockString: -CollectionOfStrings: MockString: CollectionOfStrings: StringC: C MockString: CollectionOfStrings: StringD: D # Previous MergePartial result # The CollectionOfStrings is merged into a single unit, so the C and D items are dragged upwards and jump ahead of the Removal # When this is processed, the final result removes CollectionOfStrings entirely MockString: CollectionOfStrings: StringA: A StringB: B StringC: C StringD: D -CollectionOfStrings: # New MergePartial result # When merging nodes, we no longer allow merges to jump an intervening removal node. # This means we can have multiple of a certain key (CollectionOfStrings in this example) which was not the case previously. # When this is processed, the final result includes C/D but not A/B. MockString: CollectionOfStrings: StringA: A StringB: B -CollectionOfStrings: CollectionOfStrings: StringC: C StringD: D
16 KiB
16 KiB