Michael Vorburger created FINERACT-1234:
-------------------------------------------

             Summary: Client Java SDK must configure GSON to serialize 
yyyy-mm-dd date format
                 Key: FINERACT-1234
                 URL: https://issues.apache.org/jira/browse/FINERACT-1234
             Project: Apache Fineract
          Issue Type: Bug
          Components: SDK
            Reporter: Michael Vorburger
            Assignee: Michael Vorburger


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to