Uploaded image for project: 'ZATS'
  1. ZATS
  2. ZATS-42

Rename query to queryFirst and create a query that will throw an exception if there is more than one element matching

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • 1.2.1
    • 1.2.1
    • None
    • None

      Agents offer query and queryAll methods.

      The problem is that query() is returning the first element matching selector, which may cause subtle bugs.
      I think the API should be changed as described in the title of this issue

            henrichen henrichen
            kretes kretes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: