You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/10/09 13:49:26 UTC
[jira] [Created] (TINKERPOP3-879) Remove deprecated promoteBindings
from GremlinExecutor
stephen mallette created TINKERPOP3-879:
-------------------------------------------
Summary: 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
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)