[
https://issues.apache.org/jira/browse/TINKERPOP-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Mallette reassigned TINKERPOP-2394:
-------------------------------------------
Fix Version/s: 3.5.0
Assignee: Stephen Mallette
Issue Type: Improvement (was: Bug)
Labels: breaking (was: )
> Unable to use __ class of a custom DSL when passing a script even if this
> class is imported
> -------------------------------------------------------------------------------------------
>
> Key: TINKERPOP-2394
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2394
> Project: TinkerPop
> Issue Type: Improvement
> Components: groovy
> Affects Versions: 3.4.7
> Reporter: Nicolas Trangosi
> Assignee: Stephen Mallette
> Priority: Minor
> Labels: breaking
> Fix For: 3.5.0
>
>
> Even if I import the a custom DSL __ class, I cannot use in script as the
> CoreGremlinPlugin override it with the class
> {{org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__}}
> {code:java}
> var manager = SingleGremlinScriptEngineManager.instance();
> manager.addPlugin(ImportGremlinPlugin.build()
> .classImports( __.class,)
> .create());
> GremlinScriptEngine engine = manager.getEngineByName("gremlin-groovy");
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)