-
Notifications
You must be signed in to change notification settings - Fork 847
Support for AND operations in EventCriteria #3343
Copy link
Copy link
Open
Labels
Priority 3: CouldLow priority. Issues that are nice to have but have a straightforward workaround.Low priority. Issues that are nice to have but have a straightforward workaround.Status: Information RequiredUse to signal this issue is waiting for information to be provided in the issue's description.Use to signal this issue is waiting for information to be provided in the issue's description.Type: EnhancementUse to signal an issue enhances an already existing feature of the project.Use to signal an issue enhances an already existing feature of the project.
Milestone
Metadata
Metadata
Assignees
Labels
Priority 3: CouldLow priority. Issues that are nice to have but have a straightforward workaround.Low priority. Issues that are nice to have but have a straightforward workaround.Status: Information RequiredUse to signal this issue is waiting for information to be provided in the issue's description.Use to signal this issue is waiting for information to be provided in the issue's description.Type: EnhancementUse to signal an issue enhances an already existing feature of the project.Use to signal an issue enhances an already existing feature of the project.
While implemented a new way to construct
EventCriteria, as follows:However, in the current API the user is unable to create and
ANDcondition, as this would create a few logical challenges:To demonstrate these points, let's see the following example:
As this is an AND condition, the type of the student now has to be of both
StudentRegisteredandStudentAssignedToCourseto match on the student tag, this is unlikely to ever happen.As a second problem, is the API clear enough to indicate that this AND condition wraps all other conditions?
This issue serves as marker for later investigation.