Adam Saghy created FINERACT-2333:
------------------------------------

             Summary: Batch API - Support date format: from array to string
                 Key: FINERACT-2333
                 URL: https://issues.apache.org/jira/browse/FINERACT-2333
             Project: Apache Fineract
          Issue Type: New Feature
    Affects Versions: 1.12.0, 1.11.0
            Reporter: Adam Saghy
            Assignee: Adam Saghy
             Fix For: 1.13.0


As a customer i would like to be able to use local date of a previous response, 
in a reference request:
 * Usually local dates are returned as array: [year, month, day]

 * Incoming local dates are accepted as string which match with provided 
dateFormat

 

JSONPath does not support out of box, so custom resolver is required:

Original resolution: $.<path-to-field> → E.g.: $.timeline.actualMaturityDate

New, custom resolver: $[resolver].<path-to-field> → E.g.: 
$[ARRAYDATE].timeline.actualMaturityDate

 
*Acceptance criteria*
 * Custom resolver is added and resolve from array date to date string based on 
the `dateFormat` 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to