Skip to content

$extend not working.  #4

Description

@manandharsabir

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions