{"action":"closed","issue":{"url":"https://api.github.com/repos/unitycontainer/unity/issues/177","repository_url":"https://api.github.com/repos/unitycontainer/unity","labels_url":"https://api.github.com/repos/unitycontainer/unity/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/unitycontainer/unity/issues/177/comments","events_url":"https://api.github.com/repos/unitycontainer/unity/issues/177/events","html_url":"https://github.com/unitycontainer/unity/issues/177","id":284786932,"number":177,"title":"Multiple instances of singleton type created","user":{"login":"dos36","id":12829382,"avatar_url":"https://avatars3.githubusercontent.com/u/12829382?v=4","gravatar_id":"","url":"https://api.github.com/users/dos36","html_url":"https://github.com/dos36","followers_url":"https://api.github.com/users/dos36/followers","following_url":"https://api.github.com/users/dos36/following{/other_user}","gists_url":"https://api.github.com/users/dos36/gists{/gist_id}","starred_url":"https://api.github.com/users/dos36/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dos36/subscriptions","organizations_url":"https://api.github.com/users/dos36/orgs","repos_url":"https://api.github.com/users/dos36/repos","events_url":"https://api.github.com/users/dos36/events{/privacy}","received_events_url":"https://api.github.com/users/dos36/received_events","type":"User","site_admin":false},"labels":[{"id":226604158,"url":"https://api.github.com/repos/unitycontainer/unity/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/unitycontainer/unity/milestones/7","html_url":"https://github.com/unitycontainer/unity/milestone/7","labels_url":"https://api.github.com/repos/unitycontainer/unity/milestones/7/labels","id":3003755,"number":7,"title":"5.5.1","description":"","creator":{"login":"ENikS","id":1750155,"avatar_url":"https://avatars2.githubusercontent.com/u/1750155?v=4","gravatar_id":"","url":"https://api.github.com/users/ENikS","html_url":"https://github.com/ENikS","followers_url":"https://api.github.com/users/ENikS/followers","following_url":"https://api.github.com/users/ENikS/following{/other_user}","gists_url":"https://api.github.com/users/ENikS/gists{/gist_id}","starred_url":"https://api.github.com/users/ENikS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENikS/subscriptions","organizations_url":"https://api.github.com/users/ENikS/orgs","repos_url":"https://api.github.com/users/ENikS/repos","events_url":"https://api.github.com/users/ENikS/events{/privacy}","received_events_url":"https://api.github.com/users/ENikS/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2017-12-29T16:10:57Z","updated_at":"2017-12-30T05:50:21Z","due_on":null,"closed_at":null},"comments":28,"created_at":"2017-12-27T20:01:14Z","updated_at":"2017-12-30T05:50:21Z","closed_at":"2017-12-30T05:50:21Z","author_association":"NONE","body":"Hi,\r\n\r\nPlease take a look into this:\r\nIf we have multiple interfaces registered for one singleton type, and this type has configured InjectionConstructor, than new object will be created for each interface we resolve.\r\n\r\nThis behavior can also be reproduced with other InjectionMember such as InterceptionBehavior.\r\nIf no InjectionMember configured, Unity works as expected. And only one singleton object can be created.\r\n\r\nThis issue is blocking us from migrating to latest Unity version.\r\nWe would really appreciate your help.\r\n\r\nSee attached solution for more details.\r\n[Unity5Problem.zip](https://github.com/unitycontainer/unity/files/1589750/Unity5Problem.zip)\r\n\r\nThanks,\r\nOleg\r\n"}}
{"actor":{"display_login":"ENikS"}}