{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/2423","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/2423/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/2423/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/2423/events","html_url":"https://github.com/aspnet/Mvc/issues/2423","id":69958464,"number":2423,"title":"[Mvc 5.0 Compat] Null values returned by value providers/model binders for value type properties should not create a model state error.","user":{"login":"harshgMSFT","id":6729943,"avatar_url":"https://avatars.githubusercontent.com/u/6729943?v=3","gravatar_id":"","url":"https://api.github.com/users/harshgMSFT","html_url":"https://github.com/harshgMSFT","followers_url":"https://api.github.com/users/harshgMSFT/followers","following_url":"https://api.github.com/users/harshgMSFT/following{/other_user}","gists_url":"https://api.github.com/users/harshgMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/harshgMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshgMSFT/subscriptions","organizations_url":"https://api.github.com/users/harshgMSFT/orgs","repos_url":"https://api.github.com/users/harshgMSFT/repos","events_url":"https://api.github.com/users/harshgMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/harshgMSFT/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/1%20-%20Ready","name":"1 - Ready","color":"CCCCCC"},{"url":"https://api.github.com/repos/aspnet/Mvc/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/aspnet/Mvc/labels/Model%20Binding","name":"Model Binding","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aspnet/Mvc/milestones/15","html_url":"https://github.com/aspnet/Mvc/milestones/6.0.0-beta6","labels_url":"https://api.github.com/repos/aspnet/Mvc/milestones/15/labels","id":1099269,"number":15,"title":"6.0.0-beta6","description":"","creator":{"login":"danroth27","id":1874516,"avatar_url":"https://avatars.githubusercontent.com/u/1874516?v=3","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"open_issues":75,"closed_issues":2,"state":"open","created_at":"2015-05-06T21:43:30Z","updated_at":"2015-05-27T04:57:42Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-04-21T21:35:39Z","updated_at":"2015-05-27T17:09:42Z","closed_at":null,"body":"Mvc 5.0 behavior is to use the default value, however in mvc 6.0 we add the following error:\r\n`A value is required.`\r\n\r\nFor example :\r\n```c#\r\npublic class Person\r\n{\r\n     [FromBody]\r\n     public int SSN { get; set; }\r\n}\r\n\r\npublic void Action(Person p)\r\n{\r\n}\r\n```\r\nRequest body is empty.\r\nThere would be an error in model state in MVC 6.0 and  no one for a comparable scenario in MVC 5.0 (where a value provider returns a null for the key SSN )."},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/105999843","html_url":"https://github.com/aspnet/Mvc/issues/2423#issuecomment-105999843","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/2423","id":105999843,"user":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T17:09:42Z","updated_at":"2015-05-27T17:09:42Z","body":"Agree with @bartmax"}}