Hi, spmallette. I merge ParameterizedScript into GroovyTranslator,use Script to save script and it's bindings.
Parameters switch is off as default to maintain compatibility, but user could use self provided TypeTranslator or open parameters manually。 ParameterizedScript test in ParameterizedGroovyTranslatorTest.java, test including: - parameterized script checking - binding checking - eval result checking compare In addition to basic test based on GroovyTranslatorTest.java, I also add some test cases like: shouldHandleArray, shouldHandleSet, .... to ensure that all object type in GroovyTranslator will be covered with testing。 [ Full content available at: https://github.com/apache/tinkerpop/pull/1158 ] This message was relayed via gitbox.apache.org for [email protected]
