Skip to content

Conversation

@clayreimann
Copy link
Contributor

@clayreimann clayreimann commented Mar 10, 2017

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 clayreimann force-pushed the fix-type-conversion branch from 39c80c6 to 60fc665 Compare March 10, 2017 01:24
@wcekan
Copy link
Contributor

wcekan commented Mar 10, 2017

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

@DennisMcWherter
Copy link
Collaborator

@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
Copy link
Collaborator

Update on this?

@DennisMcWherter
Copy link
Collaborator

Ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants