Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4956

Normarize rule constraints for property reactivity and indexing

    Details

    • Sprint:
      2020 Week 04-06 (from Jan 20), 2020 Week 07-09 (from Feb 10), 2020 Week 10-12 (from Mar 2)
    • Story Points:
      8
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Having a constraint like

        Person(name == $customer)
      

      is not really the same thing as

        Person($customer == name)
      

      In the second case not only you don't have property reactivity, but also you don't have indexing. This an inconsistent behaviour and hoping to fix it with a "normalization" phase where the second constraint got rewritten like the first before being analyzed by property reactivity and indexing.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tkobayashi Toshiya Kobayashi
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: