elide icon indicating copy to clipboard operation
elide copied to clipboard

Allow extensible type conversion

Open clayreimann opened this issue 8 years ago • 5 comments

I'd love input from @DeathByTape and @aklish. The only sticking point that I see is we handle type conversion from a static function, so if you (for whatever reason) spun up 2 different Elide instances with different conversion sets the last one to be created would stomp on converters.

clayreimann avatar Mar 10 '17 01:03 clayreimann

How is does this work with Jackson .addSerializer and ConvertUtils.register?

wcekan avatar Mar 10 '17 18:03 wcekan

@clayreimann you're right. We wouldn't want to stomp on two versions of Elide running in the same JVM. Arguably this could be mitigated by simply running 2 JVM's, but for various reasons that could add unnecessary complexity.

Is it possible to add the converter directly to the ElideSettings object and pass it with the RequestScope? (ElideSettings are automatically passed around in the RequestScope object).

DennisMcWherter avatar Mar 14 '17 19:03 DennisMcWherter

Update on this?

DennisMcWherter avatar May 11 '17 20:05 DennisMcWherter

Ping?

DennisMcWherter avatar May 25 '17 15:05 DennisMcWherter