Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-6393

Create facility for "conditional model listeners" which only activate for certain upcoming model values

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Binder
    • Labels:
      None

      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

        Attachments

          Activity

            People

            Assignee:
            antranig Antranig Basman
            Reporter:
            antranig Antranig Basman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: