Commit Graph

6 Commits

Author SHA1 Message Date
Dimitris a3d110b78c
Preserve related models from "include" filter
Before this change, when making a remote call with "include" filter
(for example `findById(11, {include:['children']})`), the related
models were removed from the result.

This commit fixes the implementation to correctly preserve related
models and also to cast them to correct model instances.
2017-12-12 09:39:37 +01:00
Miroslav Bajtoš 55cb88f727
Add eslint to npm test, fix linter issues 2017-12-11 14:51:48 +01:00
Miroslav Bajtoš 3f3d32a556 lib: use strict, fix whitespaces 2016-09-01 11:54:34 +02:00
Ryan Graham 17e60c9351
update copyright notices and license 2016-05-06 12:02:21 -07:00
Geoffroy ba1703fbea Clean up tests 2016-01-07 20:08:05 -08:00
Krishna Raman 3db9e34cc4 Fix relation access via remote connector 2014-09-25 15:17:55 -07:00