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

Align CoreImports with GroovyTranslator

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.4.8
    • Fix Version/s: 3.5.0, 3.4.9
    • Component/s: translator
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: