{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/qs/issues/98","labels_url":"https://api.github.com/repos/hapijs/qs/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/qs/issues/98/comments","events_url":"https://api.github.com/repos/hapijs/qs/issues/98/events","html_url":"https://github.com/hapijs/qs/pull/98","id":92463037,"number":98,"title":"make returning plain objects and prefixing prototype overwriting properties optional","user":{"login":"nlf","id":424045,"avatar_url":"https://avatars.githubusercontent.com/u/424045?v=3","gravatar_id":"","url":"https://api.github.com/users/nlf","html_url":"https://github.com/nlf","followers_url":"https://api.github.com/users/nlf/followers","following_url":"https://api.github.com/users/nlf/following{/other_user}","gists_url":"https://api.github.com/users/nlf/gists{/gist_id}","starred_url":"https://api.github.com/users/nlf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlf/subscriptions","organizations_url":"https://api.github.com/users/nlf/orgs","repos_url":"https://api.github.com/users/nlf/repos","events_url":"https://api.github.com/users/nlf/events{/privacy}","received_events_url":"https://api.github.com/users/nlf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hapijs/qs/labels/breaking%20changes","name":"breaking changes","color":"eb6420"},{"url":"https://api.github.com/repos/hapijs/qs/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"nlf","id":424045,"avatar_url":"https://avatars.githubusercontent.com/u/424045?v=3","gravatar_id":"","url":"https://api.github.com/users/nlf","html_url":"https://github.com/nlf","followers_url":"https://api.github.com/users/nlf/followers","following_url":"https://api.github.com/users/nlf/following{/other_user}","gists_url":"https://api.github.com/users/nlf/gists{/gist_id}","starred_url":"https://api.github.com/users/nlf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlf/subscriptions","organizations_url":"https://api.github.com/users/nlf/orgs","repos_url":"https://api.github.com/users/nlf/repos","events_url":"https://api.github.com/users/nlf/events{/privacy}","received_events_url":"https://api.github.com/users/nlf/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/hapijs/qs/milestones/26","html_url":"https://github.com/hapijs/qs/milestones/4.0.0","labels_url":"https://api.github.com/repos/hapijs/qs/milestones/26/labels","id":1189585,"number":26,"title":"4.0.0","description":null,"creator":{"login":"nlf","id":424045,"avatar_url":"https://avatars.githubusercontent.com/u/424045?v=3","gravatar_id":"","url":"https://api.github.com/users/nlf","html_url":"https://github.com/nlf","followers_url":"https://api.github.com/users/nlf/followers","following_url":"https://api.github.com/users/nlf/following{/other_user}","gists_url":"https://api.github.com/users/nlf/gists{/gist_id}","starred_url":"https://api.github.com/users/nlf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlf/subscriptions","organizations_url":"https://api.github.com/users/nlf/orgs","repos_url":"https://api.github.com/users/nlf/repos","events_url":"https://api.github.com/users/nlf/events{/privacy}","received_events_url":"https://api.github.com/users/nlf/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-07-01T19:08:49Z","updated_at":"2015-07-01T19:08:52Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-07-01T19:08:52Z","updated_at":"2015-07-01T20:01:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hapijs/qs/pulls/98","html_url":"https://github.com/hapijs/qs/pull/98","diff_url":"https://github.com/hapijs/qs/pull/98.diff","patch_url":"https://github.com/hapijs/qs/pull/98.patch"},"body":"this is a short term solution before 5.0.0 which will change everything. Essentially the default behavior will match the 2.x releases, with the difference that you may set the `plainObjects` option to `true` to get the behavior from the 3.x releases.\r\n\r\nIf you don't want plain objects but also don't want to lose keys that would overwrite prototype properties, you can set the `prefixPrototypes` option to `true` and those keys will be prefixed with an underscore `'_'` and passed along. It's not perfect, but at least the keys aren't silently ignored.\r\n\r\nWould appreciate your feedback on this one @hueniverse @dougwilson"},"comment":{"url":"https://api.github.com/repos/hapijs/qs/issues/comments/117808162","html_url":"https://github.com/hapijs/qs/pull/98#issuecomment-117808162","issue_url":"https://api.github.com/repos/hapijs/qs/issues/98","id":117808162,"user":{"login":"dougwilson","id":67512,"avatar_url":"https://avatars.githubusercontent.com/u/67512?v=3","gravatar_id":"","url":"https://api.github.com/users/dougwilson","html_url":"https://github.com/dougwilson","followers_url":"https://api.github.com/users/dougwilson/followers","following_url":"https://api.github.com/users/dougwilson/following{/other_user}","gists_url":"https://api.github.com/users/dougwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/dougwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougwilson/subscriptions","organizations_url":"https://api.github.com/users/dougwilson/orgs","repos_url":"https://api.github.com/users/dougwilson/repos","events_url":"https://api.github.com/users/dougwilson/events{/privacy}","received_events_url":"https://api.github.com/users/dougwilson/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T20:01:12Z","updated_at":"2015-07-01T20:01:12Z","body":"So I had made that comment in haste :) Let me really look through it to see what real comments I have :)"}}