Description
GroovyTranslator only handles a set body of types. If for some reason however an object is passed to it in the traversal that it doesn't know how to properly handle you could get an invalid groovy string. It would be good if it could not only handle new types but also override existing ones (not sure why an override would be needed, but does't seem like a wrong thing to allow).
This change is slightly bigger than GroovyTranslator though because however the override will take place it will need to be possible to use it within the script engine somehow and right now it is initialized statically.
Attachments
Issue Links
- links to