{"action":"created","issue":{"url":"https://api.github.com/repos/NancyFx/Nancy/issues/1830","labels_url":"https://api.github.com/repos/NancyFx/Nancy/issues/1830/labels{/name}","comments_url":"https://api.github.com/repos/NancyFx/Nancy/issues/1830/comments","events_url":"https://api.github.com/repos/NancyFx/Nancy/issues/1830/events","html_url":"https://github.com/NancyFx/Nancy/issues/1830","id":58660028,"number":1830,"title":"Can't register multiple instances of IDiagnosticProvider of same type","user":{"login":"OZCMRDM","id":11167176,"avatar_url":"https://avatars.githubusercontent.com/u/11167176?v=3","gravatar_id":"","url":"https://api.github.com/users/OZCMRDM","html_url":"https://github.com/OZCMRDM","followers_url":"https://api.github.com/users/OZCMRDM/followers","following_url":"https://api.github.com/users/OZCMRDM/following{/other_user}","gists_url":"https://api.github.com/users/OZCMRDM/gists{/gist_id}","starred_url":"https://api.github.com/users/OZCMRDM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OZCMRDM/subscriptions","organizations_url":"https://api.github.com/users/OZCMRDM/orgs","repos_url":"https://api.github.com/users/OZCMRDM/repos","events_url":"https://api.github.com/users/OZCMRDM/events{/privacy}","received_events_url":"https://api.github.com/users/OZCMRDM/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"thecodejunkie","id":50543,"avatar_url":"https://avatars.githubusercontent.com/u/50543?v=3","gravatar_id":"","url":"https://api.github.com/users/thecodejunkie","html_url":"https://github.com/thecodejunkie","followers_url":"https://api.github.com/users/thecodejunkie/followers","following_url":"https://api.github.com/users/thecodejunkie/following{/other_user}","gists_url":"https://api.github.com/users/thecodejunkie/gists{/gist_id}","starred_url":"https://api.github.com/users/thecodejunkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecodejunkie/subscriptions","organizations_url":"https://api.github.com/users/thecodejunkie/orgs","repos_url":"https://api.github.com/users/thecodejunkie/repos","events_url":"https://api.github.com/users/thecodejunkie/events{/privacy}","received_events_url":"https://api.github.com/users/thecodejunkie/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NancyFx/Nancy/milestones/40","html_url":"https://github.com/NancyFx/Nancy/milestones/1.3","labels_url":"https://api.github.com/repos/NancyFx/Nancy/milestones/40/labels","id":1088307,"number":40,"title":"1.3","description":"","creator":{"login":"thecodejunkie","id":50543,"avatar_url":"https://avatars.githubusercontent.com/u/50543?v=3","gravatar_id":"","url":"https://api.github.com/users/thecodejunkie","html_url":"https://github.com/thecodejunkie","followers_url":"https://api.github.com/users/thecodejunkie/followers","following_url":"https://api.github.com/users/thecodejunkie/following{/other_user}","gists_url":"https://api.github.com/users/thecodejunkie/gists{/gist_id}","starred_url":"https://api.github.com/users/thecodejunkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecodejunkie/subscriptions","organizations_url":"https://api.github.com/users/thecodejunkie/orgs","repos_url":"https://api.github.com/users/thecodejunkie/repos","events_url":"https://api.github.com/users/thecodejunkie/events{/privacy}","received_events_url":"https://api.github.com/users/thecodejunkie/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":40,"state":"open","created_at":"2015-04-28T22:04:26Z","updated_at":"2015-08-20T12:01:05Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-02-23T22:26:27Z","updated_at":"2015-08-20T12:20:28Z","closed_at":"2015-08-20T08:52:47Z","body":"IDiagnosticProviders gets registered as their type name, meaning only 1 can be registered. Should allow multiple instances, or allow IDiagnosticProvider to specify multiple diagnostic objects. \r\n\r\nIssue is due to this line:\r\n\r\nDiagnosticModuleCatalog.ConfigureContainer\r\n\r\ndiagContainer.Register<IDiagnosticsProvider>(diagnosticsProvider, diagnosticsProvider.GetType().FullName)"},"comment":{"url":"https://api.github.com/repos/NancyFx/Nancy/issues/comments/132990321","html_url":"https://github.com/NancyFx/Nancy/issues/1830#issuecomment-132990321","issue_url":"https://api.github.com/repos/NancyFx/Nancy/issues/1830","id":132990321,"user":{"login":"OZCMRDM","id":11167176,"avatar_url":"https://avatars.githubusercontent.com/u/11167176?v=3","gravatar_id":"","url":"https://api.github.com/users/OZCMRDM","html_url":"https://github.com/OZCMRDM","followers_url":"https://api.github.com/users/OZCMRDM/followers","following_url":"https://api.github.com/users/OZCMRDM/following{/other_user}","gists_url":"https://api.github.com/users/OZCMRDM/gists{/gist_id}","starred_url":"https://api.github.com/users/OZCMRDM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OZCMRDM/subscriptions","organizations_url":"https://api.github.com/users/OZCMRDM/orgs","repos_url":"https://api.github.com/users/OZCMRDM/repos","events_url":"https://api.github.com/users/OZCMRDM/events{/privacy}","received_events_url":"https://api.github.com/users/OZCMRDM/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T12:20:28Z","updated_at":"2015-08-20T12:20:28Z","body":"Yes, that is a Nancy code change that would solve the issue. "}}