Following example.. i can do queries for
http://localhost:3000/Products
http://localhost:3000/Categories
But when i try to expand catatory using..
http://localhost:3000/Products?$expand=Category
then i get error...
{
"error": {
"code": 500,
"message": "Cannot read property 'length' of undefined",
"stack": "TypeError: Cannot read property 'length' of undefined\n at Function. (\expand_test\build\controllers\ProductController.js:69:46)\n at Generator.next ()\n at fulfilled (\expand_test\build\controllers\ProductController.js:13:58)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"
}
}
Is this a know issue....or we are doing something wrong ? .. i did see the issue regarding export posted with this lib...
Metadata for the odata server is also attached..
metadata.TXT
Following example.. i can do queries for
http://localhost:3000/Products
http://localhost:3000/Categories
But when i try to expand catatory using..
http://localhost:3000/Products?$expand=Category
then i get error...
{
"error": {
"code": 500,
"message": "Cannot read property 'length' of undefined",
"stack": "TypeError: Cannot read property 'length' of undefined\n at Function. (\expand_test\build\controllers\ProductController.js:69:46)\n at Generator.next ()\n at fulfilled (\expand_test\build\controllers\ProductController.js:13:58)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)"
}
}
Is this a know issue....or we are doing something wrong ? .. i did see the issue regarding export posted with this lib...
Metadata for the odata server is also attached..
metadata.TXT