{"action":"created","comment":{"url":"https://api.github.com/repos/Aloompa/cannery/pulls/comments/55228215","id":55228215,"diff_hunk":"@@ -23,25 +24,26 @@ class ObjectType extends BaseType {\n     _applyFieldParent () {\n         Object.keys(this._fields).forEach((key) => {\n             this._fields[key].parent = this._parent;\n-            if (typeof this._fields[key].setParent === 'function') {\n-                this._fields[key].setParent();\n-            }\n         });\n     }\n \n     on (action: string, callback: Function): Object {\n         const subscriptions = {};\n \n+        const debouncedCallback = debounce(() => {\n+            callback(...arguments);\n+        });\n+\n         Object.keys(this._fields).forEach((key) => {\n             const field = this._fields[key];\n \n             subscriptions[key] = field.on(action, function () {\n-                callback(arguments);\n+                debouncedCallback(...arguments);","path":"src/types/object.js","position":30,"original_position":30,"commit_id":"90e9add206d16a7456890485974707f0fa14f205","original_commit_id":"90e9add206d16a7456890485974707f0fa14f205","user":{"login":"tysoncadenhead","id":355354,"avatar_url":"https://avatars.githubusercontent.com/u/355354?v=3","gravatar_id":"","url":"https://api.github.com/users/tysoncadenhead","html_url":"https://github.com/tysoncadenhead","followers_url":"https://api.github.com/users/tysoncadenhead/followers","following_url":"https://api.github.com/users/tysoncadenhead/following{/other_user}","gists_url":"https://api.github.com/users/tysoncadenhead/gists{/gist_id}","starred_url":"https://api.github.com/users/tysoncadenhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tysoncadenhead/subscriptions","organizations_url":"https://api.github.com/users/tysoncadenhead/orgs","repos_url":"https://api.github.com/users/tysoncadenhead/repos","events_url":"https://api.github.com/users/tysoncadenhead/events{/privacy}","received_events_url":"https://api.github.com/users/tysoncadenhead/received_events","type":"User","site_admin":false},"body":"Nope, I don't think so. I'll fix that.","created_at":"2016-03-07T16:24:06Z","updated_at":"2016-03-07T16:24:06Z","html_url":"https://github.com/Aloompa/cannery/pull/18#discussion_r55228215","pull_request_url":"https://api.github.com/repos/Aloompa/cannery/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/Aloompa/cannery/pulls/comments/55228215"},"html":{"href":"https://github.com/Aloompa/cannery/pull/18#discussion_r55228215"},"pull_request":{"href":"https://api.github.com/repos/Aloompa/cannery/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/Aloompa/cannery/pulls/18","id":61572665,"html_url":"https://github.com/Aloompa/cannery/pull/18","diff_url":"https://github.com/Aloompa/cannery/pull/18.diff","patch_url":"https://github.com/Aloompa/cannery/pull/18.patch","issue_url":"https://api.github.com/repos/Aloompa/cannery/issues/18","number":18,"state":"open","locked":false,"title":"pefinished hasOne and ownsOne","user":{"login":"tysoncadenhead","id":355354,"avatar_url":"https://avatars.githubusercontent.com/u/355354?v=3","gravatar_id":"","url":"https://api.github.com/users/tysoncadenhead","html_url":"https://github.com/tysoncadenhead","followers_url":"https://api.github.com/users/tysoncadenhead/followers","following_url":"https://api.github.com/users/tysoncadenhead/following{/other_user}","gists_url":"https://api.github.com/users/tysoncadenhead/gists{/gist_id}","starred_url":"https://api.github.com/users/tysoncadenhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tysoncadenhead/subscriptions","organizations_url":"https://api.github.com/users/tysoncadenhead/orgs","repos_url":"https://api.github.com/users/tysoncadenhead/repos","events_url":"https://api.github.com/users/tysoncadenhead/events{/privacy}","received_events_url":"https://api.github.com/users/tysoncadenhead/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-03T15:10:25Z","updated_at":"2016-03-07T16:24:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c9c0099682cb1da38a8d9f8f3b2130b7af247b0","assignee":{"login":"peteigel","id":4098889,"avatar_url":"https://avatars.githubusercontent.com/u/4098889?v=3","gravatar_id":"","url":"https://api.github.com/users/peteigel","html_url":"https://github.com/peteigel","followers_url":"https://api.github.com/users/peteigel/followers","following_url":"https://api.github.com/users/peteigel/following{/other_user}","gists_url":"https://api.github.com/users/peteigel/gists{/gist_id}","starred_url":"https://api.github.com/users/peteigel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peteigel/subscriptions","organizations_url":"https://api.github.com/users/peteigel/orgs","repos_url":"https://api.github.com/users/peteigel/repos","events_url":"https://api.github.com/users/peteigel/events{/privacy}","received_events_url":"https://api.github.com/users/peteigel/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Aloompa/cannery/pulls/18/commits","review_comments_url":"https://api.github.com/repos/Aloompa/cannery/pulls/18/comments","review_comment_url":"https://api.github.com/repos/Aloompa/cannery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Aloompa/cannery/issues/18/comments","statuses_url":"https://api.github.com/repos/Aloompa/cannery/statuses/90e9add206d16a7456890485974707f0fa14f205","head":{"label":"Aloompa:feature/scope-tyson","ref":"feature/scope-tyson","sha":"90e9add206d16a7456890485974707f0fa14f205","user":{"login":"Aloompa","id":3011322,"avatar_url":"https://avatars.githubusercontent.com/u/3011322?v=3","gravatar_id":"","url":"https://api.github.com/users/Aloompa","html_url":"https://github.com/Aloompa","followers_url":"https://api.github.com/users/Aloompa/followers","following_url":"https://api.github.com/users/Aloompa/following{/other_user}","gists_url":"https://api.github.com/users/Aloompa/gists{/gist_id}","starred_url":"https://api.github.com/users/Aloompa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aloompa/subscriptions","organizations_url":"https://api.github.com/users/Aloompa/orgs","repos_url":"https://api.github.com/users/Aloompa/repos","events_url":"https://api.github.com/users/Aloompa/events{/privacy}","received_events_url":"https://api.github.com/users/Aloompa/received_events","type":"Organization","site_admin":false},"repo":{"id":47509393,"name":"cannery","full_name":"Aloompa/cannery","owner":{"login":"Aloompa","id":3011322,"avatar_url":"https://avatars.githubusercontent.com/u/3011322?v=3","gravatar_id":"","url":"https://api.github.com/users/Aloompa","html_url":"https://github.com/Aloompa","followers_url":"https://api.github.com/users/Aloompa/followers","following_url":"https://api.github.com/users/Aloompa/following{/other_user}","gists_url":"https://api.github.com/users/Aloompa/gists{/gist_id}","starred_url":"https://api.github.com/users/Aloompa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aloompa/subscriptions","organizations_url":"https://api.github.com/users/Aloompa/orgs","repos_url":"https://api.github.com/users/Aloompa/repos","events_url":"https://api.github.com/users/Aloompa/events{/privacy}","received_events_url":"https://api.github.com/users/Aloompa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Aloompa/cannery","description":"An event-based JavaScript model layer","fork":false,"url":"https://api.github.com/repos/Aloompa/cannery","forks_url":"https://api.github.com/repos/Aloompa/cannery/forks","keys_url":"https://api.github.com/repos/Aloompa/cannery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aloompa/cannery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aloompa/cannery/teams","hooks_url":"https://api.github.com/repos/Aloompa/cannery/hooks","issue_events_url":"https://api.github.com/repos/Aloompa/cannery/issues/events{/number}","events_url":"https://api.github.com/repos/Aloompa/cannery/events","assignees_url":"https://api.github.com/repos/Aloompa/cannery/assignees{/user}","branches_url":"https://api.github.com/repos/Aloompa/cannery/branches{/branch}","tags_url":"https://api.github.com/repos/Aloompa/cannery/tags","blobs_url":"https://api.github.com/repos/Aloompa/cannery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aloompa/cannery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aloompa/cannery/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aloompa/cannery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aloompa/cannery/statuses/{sha}","languages_url":"https://api.github.com/repos/Aloompa/cannery/languages","stargazers_url":"https://api.github.com/repos/Aloompa/cannery/stargazers","contributors_url":"https://api.github.com/repos/Aloompa/cannery/contributors","subscribers_url":"https://api.github.com/repos/Aloompa/cannery/subscribers","subscription_url":"https://api.github.com/repos/Aloompa/cannery/subscription","commits_url":"https://api.github.com/repos/Aloompa/cannery/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aloompa/cannery/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aloompa/cannery/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aloompa/cannery/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aloompa/cannery/contents/{+path}","compare_url":"https://api.github.com/repos/Aloompa/cannery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aloompa/cannery/merges","archive_url":"https://api.github.com/repos/Aloompa/cannery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aloompa/cannery/downloads","issues_url":"https://api.github.com/repos/Aloompa/cannery/issues{/number}","pulls_url":"https://api.github.com/repos/Aloompa/cannery/pulls{/number}","milestones_url":"https://api.github.com/repos/Aloompa/cannery/milestones{/number}","notifications_url":"https://api.github.com/repos/Aloompa/cannery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aloompa/cannery/labels{/name}","releases_url":"https://api.github.com/repos/Aloompa/cannery/releases{/id}","deployments_url":"https://api.github.com/repos/Aloompa/cannery/deployments","created_at":"2015-12-06T19:00:00Z","updated_at":"2016-01-18T22:01:26Z","pushed_at":"2016-03-04T23:02:33Z","git_url":"git://github.com/Aloompa/cannery.git","ssh_url":"git@github.com:Aloompa/cannery.git","clone_url":"https://github.com/Aloompa/cannery.git","svn_url":"https://github.com/Aloompa/cannery","homepage":null,"size":292,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Aloompa:release/scope","ref":"release/scope","sha":"82f275d02c3adf724d7c691ed049c157dc70cda0","user":{"login":"Aloompa","id":3011322,"avatar_url":"https://avatars.githubusercontent.com/u/3011322?v=3","gravatar_id":"","url":"https://api.github.com/users/Aloompa","html_url":"https://github.com/Aloompa","followers_url":"https://api.github.com/users/Aloompa/followers","following_url":"https://api.github.com/users/Aloompa/following{/other_user}","gists_url":"https://api.github.com/users/Aloompa/gists{/gist_id}","starred_url":"https://api.github.com/users/Aloompa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aloompa/subscriptions","organizations_url":"https://api.github.com/users/Aloompa/orgs","repos_url":"https://api.github.com/users/Aloompa/repos","events_url":"https://api.github.com/users/Aloompa/events{/privacy}","received_events_url":"https://api.github.com/users/Aloompa/received_events","type":"Organization","site_admin":false},"repo":{"id":47509393,"name":"cannery","full_name":"Aloompa/cannery","owner":{"login":"Aloompa","id":3011322,"avatar_url":"https://avatars.githubusercontent.com/u/3011322?v=3","gravatar_id":"","url":"https://api.github.com/users/Aloompa","html_url":"https://github.com/Aloompa","followers_url":"https://api.github.com/users/Aloompa/followers","following_url":"https://api.github.com/users/Aloompa/following{/other_user}","gists_url":"https://api.github.com/users/Aloompa/gists{/gist_id}","starred_url":"https://api.github.com/users/Aloompa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aloompa/subscriptions","organizations_url":"https://api.github.com/users/Aloompa/orgs","repos_url":"https://api.github.com/users/Aloompa/repos","events_url":"https://api.github.com/users/Aloompa/events{/privacy}","received_events_url":"https://api.github.com/users/Aloompa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Aloompa/cannery","description":"An event-based JavaScript model layer","fork":false,"url":"https://api.github.com/repos/Aloompa/cannery","forks_url":"https://api.github.com/repos/Aloompa/cannery/forks","keys_url":"https://api.github.com/repos/Aloompa/cannery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aloompa/cannery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aloompa/cannery/teams","hooks_url":"https://api.github.com/repos/Aloompa/cannery/hooks","issue_events_url":"https://api.github.com/repos/Aloompa/cannery/issues/events{/number}","events_url":"https://api.github.com/repos/Aloompa/cannery/events","assignees_url":"https://api.github.com/repos/Aloompa/cannery/assignees{/user}","branches_url":"https://api.github.com/repos/Aloompa/cannery/branches{/branch}","tags_url":"https://api.github.com/repos/Aloompa/cannery/tags","blobs_url":"https://api.github.com/repos/Aloompa/cannery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aloompa/cannery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aloompa/cannery/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aloompa/cannery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aloompa/cannery/statuses/{sha}","languages_url":"https://api.github.com/repos/Aloompa/cannery/languages","stargazers_url":"https://api.github.com/repos/Aloompa/cannery/stargazers","contributors_url":"https://api.github.com/repos/Aloompa/cannery/contributors","subscribers_url":"https://api.github.com/repos/Aloompa/cannery/subscribers","subscription_url":"https://api.github.com/repos/Aloompa/cannery/subscription","commits_url":"https://api.github.com/repos/Aloompa/cannery/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aloompa/cannery/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aloompa/cannery/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aloompa/cannery/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aloompa/cannery/contents/{+path}","compare_url":"https://api.github.com/repos/Aloompa/cannery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aloompa/cannery/merges","archive_url":"https://api.github.com/repos/Aloompa/cannery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aloompa/cannery/downloads","issues_url":"https://api.github.com/repos/Aloompa/cannery/issues{/number}","pulls_url":"https://api.github.com/repos/Aloompa/cannery/pulls{/number}","milestones_url":"https://api.github.com/repos/Aloompa/cannery/milestones{/number}","notifications_url":"https://api.github.com/repos/Aloompa/cannery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aloompa/cannery/labels{/name}","releases_url":"https://api.github.com/repos/Aloompa/cannery/releases{/id}","deployments_url":"https://api.github.com/repos/Aloompa/cannery/deployments","created_at":"2015-12-06T19:00:00Z","updated_at":"2016-01-18T22:01:26Z","pushed_at":"2016-03-04T23:02:33Z","git_url":"git://github.com/Aloompa/cannery.git","ssh_url":"git@github.com:Aloompa/cannery.git","clone_url":"https://github.com/Aloompa/cannery.git","svn_url":"https://github.com/Aloompa/cannery","homepage":null,"size":292,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Aloompa/cannery/pulls/18"},"html":{"href":"https://github.com/Aloompa/cannery/pull/18"},"issue":{"href":"https://api.github.com/repos/Aloompa/cannery/issues/18"},"comments":{"href":"https://api.github.com/repos/Aloompa/cannery/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/Aloompa/cannery/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/Aloompa/cannery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Aloompa/cannery/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/Aloompa/cannery/statuses/90e9add206d16a7456890485974707f0fa14f205"}}}}