[
https://issues.apache.org/jira/browse/TINKERPOP3-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP3-879.
---------------------------------------
Resolution: Implemented
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.
> Remove deprecated promoteBindings from GremlinExecutor
> ------------------------------------------------------
>
> Key: TINKERPOP3-879
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-879
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: groovy
> Affects Versions: 3.0.1-incubating
> Reporter: stephen mallette
> Assignee: stephen mallette
> Priority: Minor
> Labels: breaking
> Fix For: 3.1.0-incubating
>
>
> {{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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)