Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2461

Align CoreImports with GroovyTranslator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.4.8
    • 3.5.0, 3.4.9
    • translator
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              spmallette Stephen Mallette
              spmallette Stephen Mallette
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: