Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4384 Implement GEP-3: extended command expressions
  3. GROOVY-4402

GEP-3: allow zero-args methods in the chain of calls

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8-beta-4
    • parser-antlr2
    • None

    Description

      Often, "Java builder APIs" also use methods like build() or end(), etc, for terminating a chain of calls. So it would be interested to support such methods as well, anywhere in the chain.

      Pseudo-example:

      query "user" where "age" eq 33 execute()
      query "user" unique() where "name" eq "Guillaume"
      

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            guillaume Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: