[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Other (please describe):
Changes in this PR
Add configuration for Jdk8 Module to jackson object mapper
Added implementation dependency for bringing in jackson's Jdk8Module
Describe the new behavior from this PR, and why it's needed
Internally the use case arose for needing to serialize java 8 Optionals in SSE subscription calls. Since the object mapper in DgsSSESubscriptionHandler is not configured for the Jdk8 module an error was thrown when that type was part of the payload here.
Pull Request type
Changes in this PR
Describe the new behavior from this PR, and why it's needed Internally the use case arose for needing to serialize java 8 Optionals in SSE subscription calls. Since the object mapper in DgsSSESubscriptionHandler is not configured for the Jdk8 module an error was thrown when that type was part of the payload here.
Testing done
Tested on app which had the serialization error.