Stephen Mallette created TINKERPOP-2461:
-------------------------------------------

             Summary: Align CoreImports with GroovyTranslator
                 Key: TINKERPOP-2461
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2461
             Project: TinkerPop
          Issue Type: Improvement
          Components: translator
    Affects Versions: 3.4.8
            Reporter: Stephen Mallette
            Assignee: Stephen Mallette


{{GroovyTranslator}} makes some arbitrary choices about including package names 
in its output.  A fair presumption should be that types common to Gremlin IO 
should not need the specificity of the package name (e.g. {{UUID}}). I think it 
would be smart if the {{DefaultTypeTranslator}} used {{ImportCustomizer}} 
instances to control which objects needed package specification and which did 
not. {{ImportCustomizer}} is the same interface handed to the 
{{GremlinGroovyScriptEngine}} and therefore seems to be the ideal vehicle to 
help control {{GroovyTranslator}} output.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to