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

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

Github user spmallette commented on the issue:

    https://github.com/apache/tinkerpop/pull/941
  
    Added the changelog entry. Didn't do upgrade notes because this is a 
relatively deep in the weeds sorta capability. If you think it's really 
necessary I can write some up though.


> Improve flexibility of GroovyTranslator to handle custom types
> --------------------------------------------------------------
>
>                 Key: TINKERPOP-2040
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2040
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: groovy
>    Affects Versions: 3.2.9
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>            Priority: Major
>
> {{GroovyTranslator}} only handles a set body of types. If for some reason 
> however an object is passed to it in the traversal that it doesn't know how 
> to properly handle you could get an invalid groovy string. It would be good 
> if it could not only handle new types but also override existing ones (not 
> sure why an override would be needed, but does't seem like a wrong thing to 
> allow).
> This change is slightly bigger than {{GroovyTranslator}} though because 
> however the override will take place it will need to be possible to use it 
> within the script engine somehow and right now it is initialized statically.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to