{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/2946","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/2946/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/2946/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/2946/events","html_url":"https://github.com/aspnet/Mvc/pull/2946","id":100116356,"number":2946,"title":"Handle broader range of collection types in model binding","user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-10T17:00:28Z","updated_at":"2015-08-10T17:00:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/Mvc/pulls/2946","html_url":"https://github.com/aspnet/Mvc/pull/2946","diff_url":"https://github.com/aspnet/Mvc/pull/2946.diff","patch_url":"https://github.com/aspnet/Mvc/pull/2946.patch"},"body":"- #2793\r\n- add `ICollectionModelBinder`, allowing `GenericModelBinder` to call `CreateEmptyCollection()`\r\n- adjust `CollectionModelBinder` and `DictionaryModelBinder` to activate model if default types are incompatible\r\n - do not create default (empty) top-level collection in fallback case if Model already non-`null`\r\n- change type checks in `GenericModelBinder` to align with `CollectionModelBinder` capabilities\r\n - add special case for `IEnumerable<T>`\r\n- correct `ModelMetadata` of a few tests that previously did not need that information"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/129526728","html_url":"https://github.com/aspnet/Mvc/pull/2946#issuecomment-129526728","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/2946","id":129526728,"user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T17:00:40Z","updated_at":"2015-08-10T17:00:40Z","body":"/cc @rynowak "}}