Metadata
- Source
- FLUID-6393
- Type
- New Feature
- Priority
- Major
- Status
- Open
- Resolution
- N/A
- Assignee
- Antranig Basman
- Reporter
- Antranig Basman
- Created
2019-08-07T14:56:55.672-0400 - Updated
2019-08-07T14:56:55.672-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Data Binder
Description
A constantly recurring requirement is the ability to "gate" model listeners based on whether the upcoming model state meets some criterion. The most basic and endlessly appearing variant of this is a listener to a boolean value which only activates on one value of the flag - for example, the following pull request has required a noisy 3-line function just to gate on a "falsy" value
https://github.com/fluid-project/infusion/pull/959/files
A more advanced version of this facility might allow more complex conditions to be expressed via the "reduced expression parser" FLUID-5894