[ 
https://issues.apache.org/jira/browse/TINKERPOP-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17163255#comment-17163255
 ] 

ASF GitHub Bot commented on TINKERPOP-2394:
-------------------------------------------

mmadoo opened a new pull request #1305:
URL: https://github.com/apache/tinkerpop/pull/1305


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> 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: Bug
>          Components: groovy
>    Affects Versions: 3.4.7
>            Reporter: Nicolas Trangosi
>            Priority: Minor
>
> 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)

Reply via email to