Resolves the issue: [Bug] 'expirationDate' field is serialized incorrectly due to the use of Gson
- Add
ObjectMapper
toLegalService
. - Change
HttpRequest.post(<Object>)
byHttpRequest.post().body(<String>)
inLegalService
usingObjectMapper
. - Add
LegalServiceTest
to check the fieldexpirationDate
serializes correctly.
Changes include
-
Refactoring -
Bugfix (non-breaking change that solves an issue) -
New feature (non-breaking change that adds functionality) -
Breaking change (change that is not backwards-compatible and/or changes current functionality)
Checklist
-
Added Unit Tests, wherever applicable. -
Updated the Readme -
Existing Tests passed -
Verified functionality locally -
Self Reviewed my code for formatting and complex business logic.