Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct merging of contexts with targetingKey (#136)
<!-- Please use this template for your pull request. --> <!-- Please use the sections that you need and delete other sections --> ## This PR <!-- add the description of the PR here --> Corrects the behavior of EvaluationContextMerger `merge()` when using string `targetingKey`. ### Related Issues <!-- add here the GitHub issue that this PR resolves if applicable --> Fixes #135 ### Notes <!-- any additional notes for this PR --> ### Follow-up Tasks <!-- anything that is related to this PR but not done here should be noted under this section --> <!-- if there is a need for a new issue, please link it here --> ### How to test <!-- if applicable, add testing instructions under this section --> The `testEvaluationContextMergingTargetingKey` test in EvaluationContextTest.php has been added. The test fails without the proposed fix, as expected. Signed-off-by: Tommaso Tofacchi <[email protected]>
- Loading branch information