{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react/issues/7945","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/7945/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/7945/comments","events_url":"https://api.github.com/repos/facebook/react/issues/7945/events","html_url":"https://github.com/facebook/react/issues/7945","id":182500099,"number":7945,"title":"Props Validation for objects","user":{"login":"aszwemin","id":7859434,"avatar_url":"https://avatars.githubusercontent.com/u/7859434?v=3","gravatar_id":"","url":"https://api.github.com/users/aszwemin","html_url":"https://github.com/aszwemin","followers_url":"https://api.github.com/users/aszwemin/followers","following_url":"https://api.github.com/users/aszwemin/following{/other_user}","gists_url":"https://api.github.com/users/aszwemin/gists{/gist_id}","starred_url":"https://api.github.com/users/aszwemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aszwemin/subscriptions","organizations_url":"https://api.github.com/users/aszwemin/orgs","repos_url":"https://api.github.com/users/aszwemin/repos","events_url":"https://api.github.com/users/aszwemin/events{/privacy}","received_events_url":"https://api.github.com/users/aszwemin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-12T11:20:08Z","updated_at":"2016-10-12T13:22:02Z","closed_at":"2016-10-12T13:22:01Z","body":"**Do you want to request a *feature* or report a *bug*?**\r\n\r\nRequest a feature\r\n\r\n**What is the current behavior?**\r\n\r\nAfter https://github.com/facebook/react/pull/5390/files you can't specify object with different type values, e.g. `PropTypes.objectOf({id: PropTypes.number, name: PropTypes.string})` so either you have to rely on the order of object now and specify it like `PropTypes.objectOf(PropTypes.number, PropTypes.string)` or unpack the object when passing it as props. \r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/reactjs/69z2wepo/).**\r\n\r\nIt's not bug as such, but it makes fairly typical usage spitting warnings into the console.\r\n\r\n**What is the expected behavior?**\r\n\r\nShould be able to specify objectOf as before the attached PR.\r\n\r\n**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?**\r\n\r\n15.3.2\r\n"}}
{"actor":{"display_login":"aszwemin"}}