You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Adam Saghy (Jira)" <ji...@apache.org> on 2024/06/13 12:03:00 UTC

[jira] [Updated] (FINERACT-2095) Use String based identifiers for enums

     [ https://issues.apache.org/jira/browse/FINERACT-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Saghy updated FINERACT-2095:
---------------------------------
    Description: 
Enum type response data EnumOptionData is generic and since we are moving away from using and storing id or orinal values, we should introduce a special StringEnumOptionData for this reason.

BaseEnumOptionData got introduced to have the common field whereas id is a generic one:
- id: T
- code: String
- description: String

EnumOptionData
- id : Long

StringEnumOptionData
- id : *String* 

  was:TODO


> Use String based identifiers for enums
> --------------------------------------
>
>                 Key: FINERACT-2095
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2095
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Adam Saghy
>            Priority: Major
>             Fix For: 1.11
>
>
> Enum type response data EnumOptionData is generic and since we are moving away from using and storing id or orinal values, we should introduce a special StringEnumOptionData for this reason.
> BaseEnumOptionData got introduced to have the common field whereas id is a generic one:
> - id: T
> - code: String
> - description: String
> EnumOptionData
> - id : Long
> StringEnumOptionData
> - id : *String* 



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