{"action":"created","issue":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/2569","repository_url":"https://api.github.com/repos/AutoMapper/AutoMapper","labels_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/2569/labels{/name}","comments_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/2569/comments","events_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/2569/events","html_url":"https://github.com/AutoMapper/AutoMapper/issues/2569","id":306125214,"node_id":"MDU6SXNzdWUzMDYxMjUyMTQ=","number":2569,"title":"Cannot consume scoped service 'AutoMapper.IMapper' from singleton service","user":{"login":"adnan-kamili","id":1573517,"node_id":"MDQ6VXNlcjE1NzM1MTc=","avatar_url":"https://avatars3.githubusercontent.com/u/1573517?v=4","gravatar_id":"","url":"https://api.github.com/users/adnan-kamili","html_url":"https://github.com/adnan-kamili","followers_url":"https://api.github.com/users/adnan-kamili/followers","following_url":"https://api.github.com/users/adnan-kamili/following{/other_user}","gists_url":"https://api.github.com/users/adnan-kamili/gists{/gist_id}","starred_url":"https://api.github.com/users/adnan-kamili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnan-kamili/subscriptions","organizations_url":"https://api.github.com/users/adnan-kamili/orgs","repos_url":"https://api.github.com/users/adnan-kamili/repos","events_url":"https://api.github.com/users/adnan-kamili/events{/privacy}","received_events_url":"https://api.github.com/users/adnan-kamili/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-17T03:44:56Z","updated_at":"2018-07-11T12:20:09Z","closed_at":"2018-03-17T05:00:18Z","author_association":"NONE","body":"Hi,\r\n\r\nI recently changed some service types from being transient to singleton, which caused automapper to throw error:\r\n\r\n`Cannot consume scoped service 'AutoMapper.IMapper' from singleton service\r\n`\r\nThe error is clear enough, but I wonder why Automapper is a scoped service and not a singleton. It doesn't contain any state information.\r\n\r\nIs there any way to register it as singleton or that will create issues. I am using .Net Core 2.0\r\n\r\n### Version: x.y.z\r\n6.1.1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/comments/404149046","html_url":"https://github.com/AutoMapper/AutoMapper/issues/2569#issuecomment-404149046","issue_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/2569","id":404149046,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDE0OTA0Ng==","user":{"login":"ChristianSauer","id":7250249,"node_id":"MDQ6VXNlcjcyNTAyNDk=","avatar_url":"https://avatars0.githubusercontent.com/u/7250249?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristianSauer","html_url":"https://github.com/ChristianSauer","followers_url":"https://api.github.com/users/ChristianSauer/followers","following_url":"https://api.github.com/users/ChristianSauer/following{/other_user}","gists_url":"https://api.github.com/users/ChristianSauer/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianSauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianSauer/subscriptions","organizations_url":"https://api.github.com/users/ChristianSauer/orgs","repos_url":"https://api.github.com/users/ChristianSauer/repos","events_url":"https://api.github.com/users/ChristianSauer/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianSauer/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T12:20:09Z","updated_at":"2018-07-11T12:20:09Z","author_association":"NONE","body":"Honestly I think this is a bad decision - I am constantly running into this problem and it's just annoying as hell"}}
{"actor":{"display_login":"ChristianSauer"}}