Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-879

Remove deprecated promoteBindings from GremlinExecutor

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: 3.0.1-incubating
    • Fix Version/s: 3.1.0-incubating
    • Component/s: groovy
    • Labels:

      Description

      GremlinExecutor.promoteBindings was mostly an internally used method for turning bindings returned from an init script into "global" ones that would be reused going forward. This method was replaced by allowing the user to simply return a Map from the script of the "globals" they wanted to preserve. That provided more flexibility.

      Removal of this deprecated method ultimately affects Gremlin Server scripts which will not preserve "globals" previously defined in the 3.0.x fashion. Users will need to upgrade their scripts to use the new Map style.

        Activity

        Hide
        spmallette stephen mallette added a comment -

        I largely just added this issue to track a breaking change against 3.1.0 as this work was already done a long time ago prior to our fully thinking through the approach to breaking changes.

        Show
        spmallette stephen mallette added a comment - I largely just added this issue to track a breaking change against 3.1.0 as this work was already done a long time ago prior to our fully thinking through the approach to breaking changes.

          People

          • Assignee:
            spmallette stephen mallette
            Reporter:
            spmallette stephen mallette
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development