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

Refactor custom type translation for ScriptTranslators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.3.4
    • 3.4.0
    • groovy

    Description

      Refactor the `TypeTranslator` system a bit so that it is better designed for extension rather than the "plugin" style system that exists now. The current method seems to work but it's a bit awkward in that it introduces some circular logic if a custom translator needs to refer back to the default one. In the worst case it means embedding GroovyTranslator itself in the TypeTranslator.

      Anyway, this is a breaking change because it completely alters the old method for handling this. On the plus side, this is a very low-level and internal feature that is only of interest to graph providers so it shouldn't break too much code out there.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: