{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/DependencyInjection/issues/433","repository_url":"https://api.github.com/repos/aspnet/DependencyInjection","labels_url":"https://api.github.com/repos/aspnet/DependencyInjection/issues/433/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/DependencyInjection/issues/433/comments","events_url":"https://api.github.com/repos/aspnet/DependencyInjection/issues/433/events","html_url":"https://github.com/aspnet/DependencyInjection/issues/433","id":166491099,"number":433,"title":"Changes to DependencyInjection requirements for 1.1","user":{"login":"davidfowl","id":95136,"avatar_url":"https://avatars.githubusercontent.com/u/95136?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfowl","html_url":"https://github.com/davidfowl","followers_url":"https://api.github.com/users/davidfowl/followers","following_url":"https://api.github.com/users/davidfowl/following{/other_user}","gists_url":"https://api.github.com/users/davidfowl/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfowl/subscriptions","organizations_url":"https://api.github.com/users/davidfowl/orgs","repos_url":"https://api.github.com/users/davidfowl/repos","events_url":"https://api.github.com/users/davidfowl/events{/privacy}","received_events_url":"https://api.github.com/users/davidfowl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-07-20T04:17:38Z","updated_at":"2016-07-29T15:27:04Z","closed_at":null,"body":"Moving the discussion from https://github.com/aspnet/DependencyInjection/pull/416\r\n\r\nThe tricky part with supporting DI is that not all of the things can be codified into the interface definition. That would make it easier for sure but some of it is  just impossible.\r\n\r\nRight now we're researching a couple of things: \r\n- We're looking to see which components depend on specific features of the DI container (via some automation) and as part of it, we want to see if we can automate any of it.\r\n- We're looking at @tillig's suggestions (like writing a chaos container, one of our devs already wrote a second one)\r\n- We're trying to see if we build ordering on top via another service type (playing around with `IOrdered<T>`)\r\n- We're looking at the implementations of other adapters to see what things are impossible to implement (We could use everyone's help/feedback on this one).\r\n- As a result of the previous exercise, we're also looking to see what other requirements we can relax (last registration wins, closed generics falling back to open generics etc)\r\n\r\nAs for the a specific list of things we think can be candidates for potential removal:\r\n- **Ordering** - We're trying to build a service on top with some that can potentially handle this.\r\n- **Last registration wins** - We'll likely change the API around service collection to make sure that if multiple registrations make it into the container, resolving it as a single service fails.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/DependencyInjection/issues/comments/236211277","html_url":"https://github.com/aspnet/DependencyInjection/issues/433#issuecomment-236211277","issue_url":"https://api.github.com/repos/aspnet/DependencyInjection/issues/433","id":236211277,"user":{"login":"davidfowl","id":95136,"avatar_url":"https://avatars.githubusercontent.com/u/95136?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfowl","html_url":"https://github.com/davidfowl","followers_url":"https://api.github.com/users/davidfowl/followers","following_url":"https://api.github.com/users/davidfowl/following{/other_user}","gists_url":"https://api.github.com/users/davidfowl/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfowl/subscriptions","organizations_url":"https://api.github.com/users/davidfowl/orgs","repos_url":"https://api.github.com/users/davidfowl/repos","events_url":"https://api.github.com/users/davidfowl/events{/privacy}","received_events_url":"https://api.github.com/users/davidfowl/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T15:27:04Z","updated_at":"2016-07-29T15:27:04Z","body":"> Will the new ServiceDescriptors be sealed ?\r\n\r\n@slaneyrw sealed? No.\r\n\r\n> What is the expected behaviour if a new ServiceDescriptor subclass is presented to ServiceProvider ?\r\n\r\nExplode."}}
{"actor":{"display_login":"davidfowl"}}