{"action":"created","comment":{"url":"https://api.github.com/repos/angular/material2/pulls/comments/239556688","pull_request_review_id":182374192,"id":239556688,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTU1NjY4OA==","diff_hunk":"@@ -50,7 +50,7 @@ export class MatTreeFlattener<T, F> {\n   constructor(public transformFunction: (node: T, level: number) => F,\n               public getLevel: (node: F) => number,\n               public isExpandable: (node: F) => boolean,\n-              public getChildren: (node: T) => Observable<T[]> | T[]) {}\n+              public getChildren: (node: T) => Observable<T[]> | T[] | undefined) {}","path":"src/lib/tree/data-source/flat-data-source.ts","position":5,"original_position":5,"commit_id":"8742959a57e40b15b80b1a1214a6c7c04ac980b0","original_commit_id":"8742959a57e40b15b80b1a1214a6c7c04ac980b0","user":{"login":"jelbourn","id":838736,"node_id":"MDQ6VXNlcjgzODczNg==","avatar_url":"https://avatars3.githubusercontent.com/u/838736?v=4","gravatar_id":"","url":"https://api.github.com/users/jelbourn","html_url":"https://github.com/jelbourn","followers_url":"https://api.github.com/users/jelbourn/followers","following_url":"https://api.github.com/users/jelbourn/following{/other_user}","gists_url":"https://api.github.com/users/jelbourn/gists{/gist_id}","starred_url":"https://api.github.com/users/jelbourn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jelbourn/subscriptions","organizations_url":"https://api.github.com/users/jelbourn/orgs","repos_url":"https://api.github.com/users/jelbourn/repos","events_url":"https://api.github.com/users/jelbourn/events{/privacy}","received_events_url":"https://api.github.com/users/jelbourn/received_events","type":"User","site_admin":false},"body":"The fix for this file should really be its own PR since it's a separate bug fix from cleaning up the examples. It also needs a unit test. I'd allow `null` here as well. ","created_at":"2018-12-06T18:09:15Z","updated_at":"2018-12-06T18:34:53Z","html_url":"https://github.com/angular/material2/pull/14399#discussion_r239556688","pull_request_url":"https://api.github.com/repos/angular/material2/pulls/14399","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/angular/material2/pulls/comments/239556688"},"html":{"href":"https://github.com/angular/material2/pull/14399#discussion_r239556688"},"pull_request":{"href":"https://api.github.com/repos/angular/material2/pulls/14399"}}},"pull_request":{"url":"https://api.github.com/repos/angular/material2/pulls/14399","id":236359939,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MzU5OTM5","html_url":"https://github.com/angular/material2/pull/14399","diff_url":"https://github.com/angular/material2/pull/14399.diff","patch_url":"https://github.com/angular/material2/pull/14399.patch","issue_url":"https://api.github.com/repos/angular/material2/issues/14399","number":14399,"state":"open","locked":false,"title":"refactor(tree):clean up flat tree example","user":{"login":"vivian-hu","id":41269630,"node_id":"MDQ6VXNlcjQxMjY5NjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41269630?v=4","gravatar_id":"","url":"https://api.github.com/users/vivian-hu","html_url":"https://github.com/vivian-hu","followers_url":"https://api.github.com/users/vivian-hu/followers","following_url":"https://api.github.com/users/vivian-hu/following{/other_user}","gists_url":"https://api.github.com/users/vivian-hu/gists{/gist_id}","starred_url":"https://api.github.com/users/vivian-hu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivian-hu/subscriptions","organizations_url":"https://api.github.com/users/vivian-hu/orgs","repos_url":"https://api.github.com/users/vivian-hu/repos","events_url":"https://api.github.com/users/vivian-hu/events{/privacy}","received_events_url":"https://api.github.com/users/vivian-hu/received_events","type":"User","site_admin":false},"body":"clean up flat tree example and use element to update doc site","created_at":"2018-12-05T23:35:48Z","updated_at":"2018-12-06T18:34:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b402805fad87a62ed2665deedc991368bb8b8ac","assignee":null,"assignees":[],"requested_reviewers":[{"login":"andrewseguin","id":22898577,"node_id":"MDQ6VXNlcjIyODk4NTc3","avatar_url":"https://avatars3.githubusercontent.com/u/22898577?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewseguin","html_url":"https://github.com/andrewseguin","followers_url":"https://api.github.com/users/andrewseguin/followers","following_url":"https://api.github.com/users/andrewseguin/following{/other_user}","gists_url":"https://api.github.com/users/andrewseguin/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewseguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewseguin/subscriptions","organizations_url":"https://api.github.com/users/andrewseguin/orgs","repos_url":"https://api.github.com/users/andrewseguin/repos","events_url":"https://api.github.com/users/andrewseguin/events{/privacy}","received_events_url":"https://api.github.com/users/andrewseguin/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":308798701,"node_id":"MDU6TGFiZWwzMDg3OTg3MDE=","url":"https://api.github.com/repos/angular/material2/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false},{"id":770558890,"node_id":"MDU6TGFiZWw3NzA1NTg4OTA=","url":"https://api.github.com/repos/angular/material2/labels/target:%20patch","name":"target: patch","color":"c5def5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/angular/material2/pulls/14399/commits","review_comments_url":"https://api.github.com/repos/angular/material2/pulls/14399/comments","review_comment_url":"https://api.github.com/repos/angular/material2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/material2/issues/14399/comments","statuses_url":"https://api.github.com/repos/angular/material2/statuses/8742959a57e40b15b80b1a1214a6c7c04ac980b0","head":{"label":"vivian-hu:master","ref":"master","sha":"8742959a57e40b15b80b1a1214a6c7c04ac980b0","user":{"login":"vivian-hu","id":41269630,"node_id":"MDQ6VXNlcjQxMjY5NjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41269630?v=4","gravatar_id":"","url":"https://api.github.com/users/vivian-hu","html_url":"https://github.com/vivian-hu","followers_url":"https://api.github.com/users/vivian-hu/followers","following_url":"https://api.github.com/users/vivian-hu/following{/other_user}","gists_url":"https://api.github.com/users/vivian-hu/gists{/gist_id}","starred_url":"https://api.github.com/users/vivian-hu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivian-hu/subscriptions","organizations_url":"https://api.github.com/users/vivian-hu/orgs","repos_url":"https://api.github.com/users/vivian-hu/repos","events_url":"https://api.github.com/users/vivian-hu/events{/privacy}","received_events_url":"https://api.github.com/users/vivian-hu/received_events","type":"User","site_admin":false},"repo":{"id":141607845,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE2MDc4NDU=","name":"material2","full_name":"vivian-hu/material2","private":false,"owner":{"login":"vivian-hu","id":41269630,"node_id":"MDQ6VXNlcjQxMjY5NjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41269630?v=4","gravatar_id":"","url":"https://api.github.com/users/vivian-hu","html_url":"https://github.com/vivian-hu","followers_url":"https://api.github.com/users/vivian-hu/followers","following_url":"https://api.github.com/users/vivian-hu/following{/other_user}","gists_url":"https://api.github.com/users/vivian-hu/gists{/gist_id}","starred_url":"https://api.github.com/users/vivian-hu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivian-hu/subscriptions","organizations_url":"https://api.github.com/users/vivian-hu/orgs","repos_url":"https://api.github.com/users/vivian-hu/repos","events_url":"https://api.github.com/users/vivian-hu/events{/privacy}","received_events_url":"https://api.github.com/users/vivian-hu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vivian-hu/material2","description":"Material Design components for Angular","fork":true,"url":"https://api.github.com/repos/vivian-hu/material2","forks_url":"https://api.github.com/repos/vivian-hu/material2/forks","keys_url":"https://api.github.com/repos/vivian-hu/material2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vivian-hu/material2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vivian-hu/material2/teams","hooks_url":"https://api.github.com/repos/vivian-hu/material2/hooks","issue_events_url":"https://api.github.com/repos/vivian-hu/material2/issues/events{/number}","events_url":"https://api.github.com/repos/vivian-hu/material2/events","assignees_url":"https://api.github.com/repos/vivian-hu/material2/assignees{/user}","branches_url":"https://api.github.com/repos/vivian-hu/material2/branches{/branch}","tags_url":"https://api.github.com/repos/vivian-hu/material2/tags","blobs_url":"https://api.github.com/repos/vivian-hu/material2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vivian-hu/material2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vivian-hu/material2/git/refs{/sha}","trees_url":"https://api.github.com/repos/vivian-hu/material2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vivian-hu/material2/statuses/{sha}","languages_url":"https://api.github.com/repos/vivian-hu/material2/languages","stargazers_url":"https://api.github.com/repos/vivian-hu/material2/stargazers","contributors_url":"https://api.github.com/repos/vivian-hu/material2/contributors","subscribers_url":"https://api.github.com/repos/vivian-hu/material2/subscribers","subscription_url":"https://api.github.com/repos/vivian-hu/material2/subscription","commits_url":"https://api.github.com/repos/vivian-hu/material2/commits{/sha}","git_commits_url":"https://api.github.com/repos/vivian-hu/material2/git/commits{/sha}","comments_url":"https://api.github.com/repos/vivian-hu/material2/comments{/number}","issue_comment_url":"https://api.github.com/repos/vivian-hu/material2/issues/comments{/number}","contents_url":"https://api.github.com/repos/vivian-hu/material2/contents/{+path}","compare_url":"https://api.github.com/repos/vivian-hu/material2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vivian-hu/material2/merges","archive_url":"https://api.github.com/repos/vivian-hu/material2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vivian-hu/material2/downloads","issues_url":"https://api.github.com/repos/vivian-hu/material2/issues{/number}","pulls_url":"https://api.github.com/repos/vivian-hu/material2/pulls{/number}","milestones_url":"https://api.github.com/repos/vivian-hu/material2/milestones{/number}","notifications_url":"https://api.github.com/repos/vivian-hu/material2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vivian-hu/material2/labels{/name}","releases_url":"https://api.github.com/repos/vivian-hu/material2/releases{/id}","deployments_url":"https://api.github.com/repos/vivian-hu/material2/deployments","created_at":"2018-07-19T16:55:11Z","updated_at":"2018-12-06T01:05:38Z","pushed_at":"2018-12-06T01:05:32Z","git_url":"git://github.com/vivian-hu/material2.git","ssh_url":"git@github.com:vivian-hu/material2.git","clone_url":"https://github.com/vivian-hu/material2.git","svn_url":"https://github.com/vivian-hu/material2","homepage":"https://material.angular.io","size":21795,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"63be232283262615fa2130900c80dd570eff6cda","user":{"login":"angular","id":139426,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":49016322,"node_id":"MDEwOlJlcG9zaXRvcnk0OTAxNjMyMg==","name":"material2","full_name":"angular/material2","private":false,"owner":{"login":"angular","id":139426,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/angular/material2","description":"Material Design components for Angular","fork":false,"url":"https://api.github.com/repos/angular/material2","forks_url":"https://api.github.com/repos/angular/material2/forks","keys_url":"https://api.github.com/repos/angular/material2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/material2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/material2/teams","hooks_url":"https://api.github.com/repos/angular/material2/hooks","issue_events_url":"https://api.github.com/repos/angular/material2/issues/events{/number}","events_url":"https://api.github.com/repos/angular/material2/events","assignees_url":"https://api.github.com/repos/angular/material2/assignees{/user}","branches_url":"https://api.github.com/repos/angular/material2/branches{/branch}","tags_url":"https://api.github.com/repos/angular/material2/tags","blobs_url":"https://api.github.com/repos/angular/material2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/material2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/material2/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/material2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/material2/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/material2/languages","stargazers_url":"https://api.github.com/repos/angular/material2/stargazers","contributors_url":"https://api.github.com/repos/angular/material2/contributors","subscribers_url":"https://api.github.com/repos/angular/material2/subscribers","subscription_url":"https://api.github.com/repos/angular/material2/subscription","commits_url":"https://api.github.com/repos/angular/material2/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/material2/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/material2/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/material2/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/material2/contents/{+path}","compare_url":"https://api.github.com/repos/angular/material2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/material2/merges","archive_url":"https://api.github.com/repos/angular/material2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/material2/downloads","issues_url":"https://api.github.com/repos/angular/material2/issues{/number}","pulls_url":"https://api.github.com/repos/angular/material2/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/material2/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/material2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/material2/labels{/name}","releases_url":"https://api.github.com/repos/angular/material2/releases{/id}","deployments_url":"https://api.github.com/repos/angular/material2/deployments","created_at":"2016-01-04T18:50:02Z","updated_at":"2018-12-06T17:47:14Z","pushed_at":"2018-12-06T16:41:55Z","git_url":"git://github.com/angular/material2.git","ssh_url":"git@github.com:angular/material2.git","clone_url":"https://github.com/angular/material2.git","svn_url":"https://github.com/angular/material2","homepage":"https://material.angular.io","size":22142,"stargazers_count":16646,"watchers_count":16646,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4258,"mirror_url":null,"archived":false,"open_issues_count":1401,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4258,"open_issues":1401,"watchers":16646,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/material2/pulls/14399"},"html":{"href":"https://github.com/angular/material2/pull/14399"},"issue":{"href":"https://api.github.com/repos/angular/material2/issues/14399"},"comments":{"href":"https://api.github.com/repos/angular/material2/issues/14399/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/material2/pulls/14399/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/material2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/material2/pulls/14399/commits"},"statuses":{"href":"https://api.github.com/repos/angular/material2/statuses/8742959a57e40b15b80b1a1214a6c7c04ac980b0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jelbourn"}}