Description
This is the sending equivalent of FINERACT-1220:
As is right now, with the fix from FINERACT-1220, LocalDate parameters such as a New Office openingDate cannot actually be sent. This was because in the PR for FINERACT-1220 I hard-coded GSON to serialize it as JSON array [yyyy,mm,dd] - as they are returns by Fineract. However that's actually wrong - see https://demo.fineract.dev/fineract-provider/api-docs/apiLive.htm#dates_and_numbers.
For the short term, I'm going to change the client to send LocalDate as "yyyy-mm-dd", with a test for Office openingDate proving that works.
FINERACT-1233 is about a possible more longer term solution.
Attachments
Issue Links
- Blocked
-
FINERACT-1305 Release Apache Fineract v1.5.0
- Resolved
- relates to
-
FINERACT-1220 Client Java SDK must configure GSON to deserialize [yyyy,mm,dd] date format returned by Fineract API
- Resolved
-
FINERACT-1232 Client Java SDK date types are inconsistent (LocalDate VS String)
- Closed
-
FINERACT-1233 Client Java SDK operations with LocalDate (and other date types) in Request shouldn't also require a dateFormat and locale in the request
- Closed