{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/2978","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/2978/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/2978/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/2978/events","html_url":"https://github.com/sequelize/sequelize/issues/2978","id":54970897,"number":2978,"title":"Include property used for eager loading does not throw an error when supplied with String name","user":{"login":"MirzaSikander","id":2823474,"avatar_url":"https://avatars.githubusercontent.com/u/2823474?v=3","gravatar_id":"","url":"https://api.github.com/users/MirzaSikander","html_url":"https://github.com/MirzaSikander","followers_url":"https://api.github.com/users/MirzaSikander/followers","following_url":"https://api.github.com/users/MirzaSikander/following{/other_user}","gists_url":"https://api.github.com/users/MirzaSikander/gists{/gist_id}","starred_url":"https://api.github.com/users/MirzaSikander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MirzaSikander/subscriptions","organizations_url":"https://api.github.com/users/MirzaSikander/orgs","repos_url":"https://api.github.com/users/MirzaSikander/repos","events_url":"https://api.github.com/users/MirzaSikander/events{/privacy}","received_events_url":"https://api.github.com/users/MirzaSikander/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-21T02:48:14Z","updated_at":"2015-01-21T12:52:08Z","closed_at":null,"body":"Instead of:\r\n```\r\n db.Category.find({\r\n        where: {id: categoryId},\r\n        include: [{\r\n            model: db.Product,\r\n            include: [{model: db.Diagram}]\r\n        }]\r\n    }).then(function (Category) {})\r\n```\r\nI wrote:\r\n```\r\n db.Category.find({\r\n        where: {id: categoryId},\r\n        include: [{\r\n            model: \"Product\",\r\n            include: [{model: \"Diagram\"}]\r\n        }]\r\n    }).then(function (Category) {})\r\n```\r\n\r\nThe application did not return any callback, not even the error one, and continued on as if nothing had happened. \r\nAlthough it is not a big deal, but an error message would be nice. "},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/70831282","html_url":"https://github.com/sequelize/sequelize/issues/2978#issuecomment-70831282","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/2978","id":70831282,"user":{"login":"mickhansen","id":699049,"avatar_url":"https://avatars.githubusercontent.com/u/699049?v=3","gravatar_id":"","url":"https://api.github.com/users/mickhansen","html_url":"https://github.com/mickhansen","followers_url":"https://api.github.com/users/mickhansen/followers","following_url":"https://api.github.com/users/mickhansen/following{/other_user}","gists_url":"https://api.github.com/users/mickhansen/gists{/gist_id}","starred_url":"https://api.github.com/users/mickhansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickhansen/subscriptions","organizations_url":"https://api.github.com/users/mickhansen/orgs","repos_url":"https://api.github.com/users/mickhansen/repos","events_url":"https://api.github.com/users/mickhansen/events{/privacy}","received_events_url":"https://api.github.com/users/mickhansen/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T12:52:08Z","updated_at":"2015-01-21T12:52:08Z","body":"@MirzaSikander i find that highly unlikely that an error wouldn't be propagated somewhere, but i will have to test it locally."}}