adamspe / odata-resource

Node.JS+Express+REST
https://www.npmjs.com/package/odata-resource
12 stars 4 forks source link

Paging doesn't work #3

Closed Graidenix closed 7 years ago

Graidenix commented 7 years ago

$skip and $top are read from query string, but mongoose query requires only number type.

screen shot 2016-10-12 at 15 00 18

mongoDB@3.2.7 mongoose@4.5.9 node@6.2.2 npm@3.9.5

adamspe commented 7 years ago

Thanks for the fix. Existing tests didn't catch because of a dev dependency on an older version of mongoose.

Updated dependency to mongoose 4.5.x, bumped version to 0.2.1 and published latest to npm https://www.npmjs.com/package/odata-resource

Closing issue.