{"action":"created","issue":{"url":"https://api.github.com/repos/feathersjs/feathers-sequelize/issues/89","repository_url":"https://api.github.com/repos/feathersjs/feathers-sequelize","labels_url":"https://api.github.com/repos/feathersjs/feathers-sequelize/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/feathersjs/feathers-sequelize/issues/89/comments","events_url":"https://api.github.com/repos/feathersjs/feathers-sequelize/issues/89/events","html_url":"https://github.com/feathersjs/feathers-sequelize/issues/89","id":207631750,"number":89,"title":"$populate does not seem to work","user":{"login":"garrypolley","id":992175,"avatar_url":"https://avatars.githubusercontent.com/u/992175?v=3","gravatar_id":"","url":"https://api.github.com/users/garrypolley","html_url":"https://github.com/garrypolley","followers_url":"https://api.github.com/users/garrypolley/followers","following_url":"https://api.github.com/users/garrypolley/following{/other_user}","gists_url":"https://api.github.com/users/garrypolley/gists{/gist_id}","starred_url":"https://api.github.com/users/garrypolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrypolley/subscriptions","organizations_url":"https://api.github.com/users/garrypolley/orgs","repos_url":"https://api.github.com/users/garrypolley/repos","events_url":"https://api.github.com/users/garrypolley/events{/privacy}","received_events_url":"https://api.github.com/users/garrypolley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-14T20:46:38Z","updated_at":"2017-02-14T21:06:00Z","closed_at":null,"body":"### Steps to reproduce\r\nCreate a linked relationship between two models\r\n\r\n### Expected behavior\r\nWhen I query a basic endpoint I expect the `$populate` parameter to include my related model.\r\n\r\n### Actual behavior\r\nThe related model is not included in my results.  The `include` never gets sent to sequelize and therefore the inner join is never made.  "},"comment":{"url":"https://api.github.com/repos/feathersjs/feathers-sequelize/issues/comments/279835701","html_url":"https://github.com/feathersjs/feathers-sequelize/issues/89#issuecomment-279835701","issue_url":"https://api.github.com/repos/feathersjs/feathers-sequelize/issues/89","id":279835701,"user":{"login":"garrypolley","id":992175,"avatar_url":"https://avatars.githubusercontent.com/u/992175?v=3","gravatar_id":"","url":"https://api.github.com/users/garrypolley","html_url":"https://github.com/garrypolley","followers_url":"https://api.github.com/users/garrypolley/followers","following_url":"https://api.github.com/users/garrypolley/following{/other_user}","gists_url":"https://api.github.com/users/garrypolley/gists{/gist_id}","starred_url":"https://api.github.com/users/garrypolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrypolley/subscriptions","organizations_url":"https://api.github.com/users/garrypolley/orgs","repos_url":"https://api.github.com/users/garrypolley/repos","events_url":"https://api.github.com/users/garrypolley/events{/privacy}","received_events_url":"https://api.github.com/users/garrypolley/received_events","type":"User","site_admin":false},"created_at":"2017-02-14T21:06:00Z","updated_at":"2017-02-14T21:06:00Z","body":"They support an `include` which does about the same thing.  So if I have `hasMany` relationship, I can add a: \r\n\r\n`.findAll({\r\n   include: 'MyManyModel'\r\n  })\r\n`\r\n\r\nAnd it'll add the nested model via an inner join. I was assuming that a `$populate` would drop the value into `include`. "}}
{"actor":{"display_login":"garrypolley"}}