-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When creating a resource via a commandful cli, there seems to be no valid input for setting array properties (and parent/child relationships).
For example:
Group = resourceful.define('group', function() {
this.array('people');
});
// trying to set the value of 'people'
// via command line throws this error
{
"schema": {
"links": [],
"name": "Group",
"properties": {
"id": {
"required": false,
"type": "any"
},
"people": {
"conditions": {},
"messages": {},
"type": "array"
}
}
},
"validate": {
"errors": [
{
"actual": "string",
"attribute": "type",
"expected": "array",
"message": "must be of array type",
"property": "people"
}
],
"valid": false
},
"value": {
"id": "group_id",
"people": ""
}
}Metadata
Metadata
Assignees
Labels
No labels