Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Requirement matchers returned in collection of the same class are evaluated as in OR relation #1991

Closed
odockal opened this issue Jan 28, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@odockal
Copy link
Collaborator

odockal commented Jan 28, 2019

More than one requirement matcher of the same class returned in collection in RequirementRestriction annotated method are evaluated as in OR relation. Thus, there is more configurations returned than it should from cartesian product of requirement combination. In this line, code is iterating over each passed requirement, but it should be grouped by configuration class of the requirement and tested whether all attributes of requirement matcher fulfills the condition.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant