{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/25681","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/25681/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/25681/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/25681/events","html_url":"https://github.com/laravel/framework/pull/25681","id":361303754,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MzA3MDc3","number":25681,"title":"Support custom user provider names in generator commands","user":{"login":"markwalet","id":11446771,"node_id":"MDQ6VXNlcjExNDQ2Nzcx","avatar_url":"https://avatars0.githubusercontent.com/u/11446771?v=4","gravatar_id":"","url":"https://api.github.com/users/markwalet","html_url":"https://github.com/markwalet","followers_url":"https://api.github.com/users/markwalet/followers","following_url":"https://api.github.com/users/markwalet/following{/other_user}","gists_url":"https://api.github.com/users/markwalet/gists{/gist_id}","starred_url":"https://api.github.com/users/markwalet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markwalet/subscriptions","organizations_url":"https://api.github.com/users/markwalet/orgs","repos_url":"https://api.github.com/users/markwalet/repos","events_url":"https://api.github.com/users/markwalet/events{/privacy}","received_events_url":"https://api.github.com/users/markwalet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-18T13:26:10Z","updated_at":"2018-09-19T10:20:35Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/25681","html_url":"https://github.com/laravel/framework/pull/25681","diff_url":"https://github.com/laravel/framework/pull/25681.diff","patch_url":"https://github.com/laravel/framework/pull/25681.patch"},"body":"The generator commands only worked when the `auth.providers.user` configuration was used. When you change this to something else, the user model wouldn't be replaced correctly.\r\n\r\nI refactored the retrieval of the authentication model to a seperate method called `userProviderModel()`. Then I searched and replaced all occurrences of `config('auth.providers.users.model')`. \r\n\r\nI don't know if this is the way you'd like to implement this method. But it fixes the bug. I'll keep the PR open for feedback and edits.\r\n"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/422744161","html_url":"https://github.com/laravel/framework/pull/25681#issuecomment-422744161","issue_url":"https://api.github.com/repos/laravel/framework/issues/25681","id":422744161,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjc0NDE2MQ==","user":{"login":"markwalet","id":11446771,"node_id":"MDQ6VXNlcjExNDQ2Nzcx","avatar_url":"https://avatars0.githubusercontent.com/u/11446771?v=4","gravatar_id":"","url":"https://api.github.com/users/markwalet","html_url":"https://github.com/markwalet","followers_url":"https://api.github.com/users/markwalet/followers","following_url":"https://api.github.com/users/markwalet/following{/other_user}","gists_url":"https://api.github.com/users/markwalet/gists{/gist_id}","starred_url":"https://api.github.com/users/markwalet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markwalet/subscriptions","organizations_url":"https://api.github.com/users/markwalet/orgs","repos_url":"https://api.github.com/users/markwalet/repos","events_url":"https://api.github.com/users/markwalet/events{/privacy}","received_events_url":"https://api.github.com/users/markwalet/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T10:20:35Z","updated_at":"2018-09-19T10:20:35Z","author_association":"CONTRIBUTOR","body":"I can't even run all tests. I get a memory exception. Is there a way to run all tests in chunks or something? Without increasing my memory limit."}}
{"actor":{"display_login":"markwalet"}}