Closed
Description
We have a model as shown below
{
"name": "accounts",
"plural": "accounts",
"base": "PersistedModel",
"idInjection": true,
"options": {
"validateUpsert": true
},
"properties": {
"name": {
"type": "string"
},
"items": {
"type" : [
[
{"itemname": {"type": "string"}}
]
]
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
Loopback explorer show the below structure
but during runtime operations the response of the items
is not coming as array of array of json object as shown below