Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1368

Warp: reverse order of chaining of request builder

XMLWordPrintable

    • Warp Alpha3

      If we have following observer:

      .observe(request().uri().contains("__richfacesPushAsync").index(1))

      we want observe first request matching criteria - (URI containing given string), however that is not what happens:

      the index(1) calls method addFilter which allows chaining, but this chain evaluates the newly passed filter before it evaluates previous one.


      Reverse the order of evaluation in order to fix semantics of fluent API.

              lfryc Lukáš Fryč (Inactive)
              lfryc Lukáš Fryč (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 30 minutes
                  30m
                  Remaining:
                  Remaining Estimate - 30 minutes
                  30m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified