[ https://issues.apache.org/jira/browse/TINKERPOP-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169213#comment-15169213 ]
ASF GitHub Bot commented on TINKERPOP-1107: ------------------------------------------- Github user dkuppitz commented on the pull request: https://github.com/apache/incubator-tinkerpop/pull/238#issuecomment-189329294 Intentionally I've never used `def` or alike for global variables, but being able to do that will make some of my code snippets look a lot better. Nice! Vote: +1 > Provide a way to support global variables with sandboxing enabled > ----------------------------------------------------------------- > > Key: TINKERPOP-1107 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1107 > Project: TinkerPop > Issue Type: Improvement > Components: groovy > Affects Versions: 3.1.0-incubating > Reporter: stephen mallette > Assignee: stephen mallette > Fix For: 3.1.2-incubating > > > If sandboxing is enabled then types have to be defined but if you define the > type in the script the {{ScriptEngine}} treats it as a local variable. > That's problematic in sessions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)