{"action":"created","issue":{"url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/231","repository_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript","labels_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/231/comments","events_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/231/events","html_url":"https://github.com/RobinBuschmann/sequelize-typescript/issues/231","id":281284522,"number":231,"title":"Repository mode","user":{"login":"RobinBuschmann","id":5270739,"avatar_url":"https://avatars0.githubusercontent.com/u/5270739?v=4","gravatar_id":"","url":"https://api.github.com/users/RobinBuschmann","html_url":"https://github.com/RobinBuschmann","followers_url":"https://api.github.com/users/RobinBuschmann/followers","following_url":"https://api.github.com/users/RobinBuschmann/following{/other_user}","gists_url":"https://api.github.com/users/RobinBuschmann/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinBuschmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinBuschmann/subscriptions","organizations_url":"https://api.github.com/users/RobinBuschmann/orgs","repos_url":"https://api.github.com/users/RobinBuschmann/repos","events_url":"https://api.github.com/users/RobinBuschmann/events{/privacy}","received_events_url":"https://api.github.com/users/RobinBuschmann/received_events","type":"User","site_admin":false},"labels":[{"id":317393287,"url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"RobinBuschmann","id":5270739,"avatar_url":"https://avatars0.githubusercontent.com/u/5270739?v=4","gravatar_id":"","url":"https://api.github.com/users/RobinBuschmann","html_url":"https://github.com/RobinBuschmann","followers_url":"https://api.github.com/users/RobinBuschmann/followers","following_url":"https://api.github.com/users/RobinBuschmann/following{/other_user}","gists_url":"https://api.github.com/users/RobinBuschmann/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinBuschmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinBuschmann/subscriptions","organizations_url":"https://api.github.com/users/RobinBuschmann/orgs","repos_url":"https://api.github.com/users/RobinBuschmann/repos","events_url":"https://api.github.com/users/RobinBuschmann/events{/privacy}","received_events_url":"https://api.github.com/users/RobinBuschmann/received_events","type":"User","site_admin":false},"assignees":[{"login":"RobinBuschmann","id":5270739,"avatar_url":"https://avatars0.githubusercontent.com/u/5270739?v=4","gravatar_id":"","url":"https://api.github.com/users/RobinBuschmann","html_url":"https://github.com/RobinBuschmann","followers_url":"https://api.github.com/users/RobinBuschmann/followers","following_url":"https://api.github.com/users/RobinBuschmann/following{/other_user}","gists_url":"https://api.github.com/users/RobinBuschmann/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinBuschmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinBuschmann/subscriptions","organizations_url":"https://api.github.com/users/RobinBuschmann/orgs","repos_url":"https://api.github.com/users/RobinBuschmann/repos","events_url":"https://api.github.com/users/RobinBuschmann/events{/privacy}","received_events_url":"https://api.github.com/users/RobinBuschmann/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/milestones/2","html_url":"https://github.com/RobinBuschmann/sequelize-typescript/milestone/2","labels_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/milestones/2/labels","id":2941267,"number":2,"title":"1.0","description":"","creator":{"login":"RobinBuschmann","id":5270739,"avatar_url":"https://avatars0.githubusercontent.com/u/5270739?v=4","gravatar_id":"","url":"https://api.github.com/users/RobinBuschmann","html_url":"https://github.com/RobinBuschmann","followers_url":"https://api.github.com/users/RobinBuschmann/followers","following_url":"https://api.github.com/users/RobinBuschmann/following{/other_user}","gists_url":"https://api.github.com/users/RobinBuschmann/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinBuschmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinBuschmann/subscriptions","organizations_url":"https://api.github.com/users/RobinBuschmann/orgs","repos_url":"https://api.github.com/users/RobinBuschmann/repos","events_url":"https://api.github.com/users/RobinBuschmann/events{/privacy}","received_events_url":"https://api.github.com/users/RobinBuschmann/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2017-11-27T20:44:36Z","updated_at":"2018-02-12T20:09:08Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2017-12-12T07:33:21Z","updated_at":"2018-04-05T18:04:03Z","closed_at":null,"author_association":"OWNER","body":"Implement a mode, which separates static operations from models. So that `User.find` will not be possible in this mode. A repository need to be created instead like\r\n\r\n```ts\r\nconst sequelize = new Sequelize({repositoryMode: true, ...})\r\nconst userRepository = sequelize.getRepository(User);\r\nuserRepository.find(...);\r\n```\r\n\r\nThis should separate the initialization of a model to the repository model as well."},"comment":{"url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/comments/379025331","html_url":"https://github.com/RobinBuschmann/sequelize-typescript/issues/231#issuecomment-379025331","issue_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/231","id":379025331,"user":{"login":"alejandrogkl","id":18010943,"avatar_url":"https://avatars0.githubusercontent.com/u/18010943?v=4","gravatar_id":"","url":"https://api.github.com/users/alejandrogkl","html_url":"https://github.com/alejandrogkl","followers_url":"https://api.github.com/users/alejandrogkl/followers","following_url":"https://api.github.com/users/alejandrogkl/following{/other_user}","gists_url":"https://api.github.com/users/alejandrogkl/gists{/gist_id}","starred_url":"https://api.github.com/users/alejandrogkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejandrogkl/subscriptions","organizations_url":"https://api.github.com/users/alejandrogkl/orgs","repos_url":"https://api.github.com/users/alejandrogkl/repos","events_url":"https://api.github.com/users/alejandrogkl/events{/privacy}","received_events_url":"https://api.github.com/users/alejandrogkl/received_events","type":"User","site_admin":false},"created_at":"2018-04-05T18:04:03Z","updated_at":"2018-04-05T18:04:03Z","author_association":"NONE","body":"done"}}
{"actor":{"display_login":"alejandrogkl"}}