[ 
https://issues.apache.org/jira/browse/UNOMI-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16472115#comment-16472115
 ] 

Serge Huber edited comment on UNOMI-181 at 5/11/18 3:32 PM:
------------------------------------------------------------

The first example is fine, we should only have keys that could be used as 
resource bundle keys and translated in the layer of software that is talking to 
Apache Unomi.

Actually on second thought maybe the syntax should be something like : 
{code:java}
"type" : "enum", "values" : [ "red", "blue", "green" ]{code}


was (Author: shuber):
The first example is fine, we should only have keys that could be used as 
resource bundle keys and translated in the layer of software that is talking to 
Apache Unomi.

> enum field for PropertyType
> ---------------------------
>
>                 Key: UNOMI-181
>                 URL: https://issues.apache.org/jira/browse/UNOMI-181
>             Project: Apache Unomi
>          Issue Type: New Feature
>            Reporter: Don Hinshaw
>            Priority: Minor
>
> It would be nice to see an enum field in PropertyType.
> It would simply be a list of potential values for that type.  What are your 
> thoughts on this feature?
> I would be happy to work on it if you see it adding value. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to