On a collection get request, the array should contain the same type of value format as used for model properties, instead of sending an array of rid strings. Model items should instead be a resource link object:
[
"text",
123,
{"rid":"serviceName.model.42"}
]
Example response to get.imgService.img.42.tags:
[
"nature",
"forest",
"morning"
]
This would also affect the event data structure of collection add/remove events.
Issue
Collection currectly only supports model items.
In case you wish for a collection of string values, you currently have to wrap them in objects.
Example response to
get.imgService.img.42.tags
:Example response to
get.tagService.tag.10
:Suggested solution
On a collection get request, the array should contain the same type of value format as used for model properties, instead of sending an array of rid strings. Model items should instead be a resource link object:
Example response to
get.imgService.img.42.tags
:This would also affect the event data structure of collection add/remove events.