{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/1426","repository_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler","labels_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/1426/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/1426/comments","events_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/1426/events","html_url":"https://github.com/strongloop/loopback-datasource-juggler/pull/1426","id":243630295,"number":1426,"title":"Missing the option argument","user":{"login":"dmellonch","id":15869091,"avatar_url":"https://avatars0.githubusercontent.com/u/15869091?v=4","gravatar_id":"","url":"https://api.github.com/users/dmellonch","html_url":"https://github.com/dmellonch","followers_url":"https://api.github.com/users/dmellonch/followers","following_url":"https://api.github.com/users/dmellonch/following{/other_user}","gists_url":"https://api.github.com/users/dmellonch/gists{/gist_id}","starred_url":"https://api.github.com/users/dmellonch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmellonch/subscriptions","organizations_url":"https://api.github.com/users/dmellonch/orgs","repos_url":"https://api.github.com/users/dmellonch/repos","events_url":"https://api.github.com/users/dmellonch/events{/privacy}","received_events_url":"https://api.github.com/users/dmellonch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-07-18T07:55:45Z","updated_at":"2017-08-01T15:07:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/pulls/1426","html_url":"https://github.com/strongloop/loopback-datasource-juggler/pull/1426","diff_url":"https://github.com/strongloop/loopback-datasource-juggler/pull/1426.diff","patch_url":"https://github.com/strongloop/loopback-datasource-juggler/pull/1426.patch"},"body":"### Description\r\nIn scope.js, missing the option argument in find.relatedmodel\r\n#### Related issues\r\n- #1388 "},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/comments/319399034","html_url":"https://github.com/strongloop/loopback-datasource-juggler/pull/1426#issuecomment-319399034","issue_url":"https://api.github.com/repos/strongloop/loopback-datasource-juggler/issues/1426","id":319399034,"user":{"login":"kjdelisle","id":2053534,"avatar_url":"https://avatars3.githubusercontent.com/u/2053534?v=4","gravatar_id":"","url":"https://api.github.com/users/kjdelisle","html_url":"https://github.com/kjdelisle","followers_url":"https://api.github.com/users/kjdelisle/followers","following_url":"https://api.github.com/users/kjdelisle/following{/other_user}","gists_url":"https://api.github.com/users/kjdelisle/gists{/gist_id}","starred_url":"https://api.github.com/users/kjdelisle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjdelisle/subscriptions","organizations_url":"https://api.github.com/users/kjdelisle/orgs","repos_url":"https://api.github.com/users/kjdelisle/repos","events_url":"https://api.github.com/users/kjdelisle/events{/privacy}","received_events_url":"https://api.github.com/users/kjdelisle/received_events","type":"User","site_admin":false},"created_at":"2017-08-01T15:07:09Z","updated_at":"2017-08-01T15:07:09Z","body":"Ugh. The cloudant test run looks like it's failing due to order of the array:\r\n```\r\n  1) cloudant imported features relations hasMany through find over related model with options should find be filtered from option:\r\n\r\n      Uncaught AssertionError: expected Array [ 'z:test', 'a:test' ] to equal Array [ 'a:test', 'z:test' ] (at '0', A has 'z:test' and B has 'a:test')\r\n      + expected - actual\r\n\r\n       [\r\n      +  \"a:test\"\r\n         \"z:test\"\r\n      -  \"a:test\"\r\n       ]\r\n      \r\n      at Assertion.fail (node_modules/should/lib/assertion.js:180:17)\r\n      at Assertion.prop.value (node_modules/should/lib/assertion.js:65:17)\r\n      at node_modules/loopback-datasource-juggler/test/relations.test.js:959:27\r\n      at node_modules/loopback-datasource-juggler/lib/dao.js:2097:9\r\n```"}}
{"actor":{"display_login":"kjdelisle"}}