{"action":"created","comment":{"url":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/comments/77432837","id":77432837,"diff_hunk":"@@ -28,6 +28,12 @@\n \n @SuppressWarnings({\"unchecked\",\"rawtypes\"})\n public class TagReadProtocol<T> implements ReadProtocol<XMLEvent,T> {\n+    private static final Function<List<?>, Object> IDENTITY = list -> list.get(0);\n+    \n+    public static <T> Function<List<?>, T> identity() {","path":"ts-reaktive-marshal/src/main/java/com/tradeshift/reaktive/xml/TagReadProtocol.java","position":6,"original_position":6,"commit_id":"3b0c7c84557cbed6d83f2d143889c1d9f1d03f41","original_commit_id":"3b0c7c84557cbed6d83f2d143889c1d9f1d03f41","user":{"login":"ehats","id":12268788,"avatar_url":"https://avatars.githubusercontent.com/u/12268788?v=3","gravatar_id":"","url":"https://api.github.com/users/ehats","html_url":"https://github.com/ehats","followers_url":"https://api.github.com/users/ehats/followers","following_url":"https://api.github.com/users/ehats/following{/other_user}","gists_url":"https://api.github.com/users/ehats/gists{/gist_id}","starred_url":"https://api.github.com/users/ehats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehats/subscriptions","organizations_url":"https://api.github.com/users/ehats/orgs","repos_url":"https://api.github.com/users/ehats/repos","events_url":"https://api.github.com/users/ehats/events{/privacy}","received_events_url":"https://api.github.com/users/ehats/received_events","type":"User","site_admin":false},"body":"Can you explain the idea behind this?","created_at":"2016-09-03T07:26:18Z","updated_at":"2016-09-03T07:26:18Z","html_url":"https://github.com/Tradeshift/ts-reaktive/pull/23#discussion_r77432837","pull_request_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/comments/77432837"},"html":{"href":"https://github.com/Tradeshift/ts-reaktive/pull/23#discussion_r77432837"},"pull_request":{"href":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/23","id":83593554,"html_url":"https://github.com/Tradeshift/ts-reaktive/pull/23","diff_url":"https://github.com/Tradeshift/ts-reaktive/pull/23.diff","patch_url":"https://github.com/Tradeshift/ts-reaktive/pull/23.patch","issue_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/issues/23","number":23,"state":"open","locked":false,"title":"Bind marshalling framework into akka streams","user":{"login":"jypma","id":483519,"avatar_url":"https://avatars.githubusercontent.com/u/483519?v=3","gravatar_id":"","url":"https://api.github.com/users/jypma","html_url":"https://github.com/jypma","followers_url":"https://api.github.com/users/jypma/followers","following_url":"https://api.github.com/users/jypma/following{/other_user}","gists_url":"https://api.github.com/users/jypma/gists{/gist_id}","starred_url":"https://api.github.com/users/jypma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jypma/subscriptions","organizations_url":"https://api.github.com/users/jypma/orgs","repos_url":"https://api.github.com/users/jypma/repos","events_url":"https://api.github.com/users/jypma/events{/privacy}","received_events_url":"https://api.github.com/users/jypma/received_events","type":"User","site_admin":false},"body":"Also rework the `Writer` interface to support multiple invocations, so we can streamingly write json arrays, XML root with many tags, etc.","created_at":"2016-09-01T08:53:03Z","updated_at":"2016-09-03T07:26:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"321aebdfd04e9a709687b4b2d25e540abd54a526","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/23/commits","review_comments_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/23/comments","review_comment_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/issues/23/comments","statuses_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/statuses/3b0c7c84557cbed6d83f2d143889c1d9f1d03f41","head":{"label":"Tradeshift:marshal-streams","ref":"marshal-streams","sha":"3b0c7c84557cbed6d83f2d143889c1d9f1d03f41","user":{"login":"Tradeshift","id":432092,"avatar_url":"https://avatars.githubusercontent.com/u/432092?v=3","gravatar_id":"","url":"https://api.github.com/users/Tradeshift","html_url":"https://github.com/Tradeshift","followers_url":"https://api.github.com/users/Tradeshift/followers","following_url":"https://api.github.com/users/Tradeshift/following{/other_user}","gists_url":"https://api.github.com/users/Tradeshift/gists{/gist_id}","starred_url":"https://api.github.com/users/Tradeshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tradeshift/subscriptions","organizations_url":"https://api.github.com/users/Tradeshift/orgs","repos_url":"https://api.github.com/users/Tradeshift/repos","events_url":"https://api.github.com/users/Tradeshift/events{/privacy}","received_events_url":"https://api.github.com/users/Tradeshift/received_events","type":"Organization","site_admin":false},"repo":{"id":59745474,"name":"ts-reaktive","full_name":"Tradeshift/ts-reaktive","owner":{"login":"Tradeshift","id":432092,"avatar_url":"https://avatars.githubusercontent.com/u/432092?v=3","gravatar_id":"","url":"https://api.github.com/users/Tradeshift","html_url":"https://github.com/Tradeshift","followers_url":"https://api.github.com/users/Tradeshift/followers","following_url":"https://api.github.com/users/Tradeshift/following{/other_user}","gists_url":"https://api.github.com/users/Tradeshift/gists{/gist_id}","starred_url":"https://api.github.com/users/Tradeshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tradeshift/subscriptions","organizations_url":"https://api.github.com/users/Tradeshift/orgs","repos_url":"https://api.github.com/users/Tradeshift/repos","events_url":"https://api.github.com/users/Tradeshift/events{/privacy}","received_events_url":"https://api.github.com/users/Tradeshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tradeshift/ts-reaktive","description":"This repository shows how to build reactive applications in Java 8 using the Akka framework, on Akka Persistence, with cassandra as backend, and exposing an event sourced stream using HTTP.","fork":false,"url":"https://api.github.com/repos/Tradeshift/ts-reaktive","forks_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/forks","keys_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/teams","hooks_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/hooks","issue_events_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/issues/events{/number}","events_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/events","assignees_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/assignees{/user}","branches_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/branches{/branch}","tags_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/tags","blobs_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/statuses/{sha}","languages_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/languages","stargazers_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/stargazers","contributors_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/contributors","subscribers_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/subscribers","subscription_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/subscription","commits_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/contents/{+path}","compare_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/merges","archive_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/downloads","issues_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/issues{/number}","pulls_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls{/number}","milestones_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/milestones{/number}","notifications_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/labels{/name}","releases_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/releases{/id}","deployments_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/deployments","created_at":"2016-05-26T11:36:17Z","updated_at":"2016-05-31T08:19:00Z","pushed_at":"2016-09-01T14:20:23Z","git_url":"git://github.com/Tradeshift/ts-reaktive.git","ssh_url":"git@github.com:Tradeshift/ts-reaktive.git","clone_url":"https://github.com/Tradeshift/ts-reaktive.git","svn_url":"https://github.com/Tradeshift/ts-reaktive","homepage":"","size":255,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"Tradeshift:master","ref":"master","sha":"949dc785c2e3ab34d75c152139de602d10f1ce08","user":{"login":"Tradeshift","id":432092,"avatar_url":"https://avatars.githubusercontent.com/u/432092?v=3","gravatar_id":"","url":"https://api.github.com/users/Tradeshift","html_url":"https://github.com/Tradeshift","followers_url":"https://api.github.com/users/Tradeshift/followers","following_url":"https://api.github.com/users/Tradeshift/following{/other_user}","gists_url":"https://api.github.com/users/Tradeshift/gists{/gist_id}","starred_url":"https://api.github.com/users/Tradeshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tradeshift/subscriptions","organizations_url":"https://api.github.com/users/Tradeshift/orgs","repos_url":"https://api.github.com/users/Tradeshift/repos","events_url":"https://api.github.com/users/Tradeshift/events{/privacy}","received_events_url":"https://api.github.com/users/Tradeshift/received_events","type":"Organization","site_admin":false},"repo":{"id":59745474,"name":"ts-reaktive","full_name":"Tradeshift/ts-reaktive","owner":{"login":"Tradeshift","id":432092,"avatar_url":"https://avatars.githubusercontent.com/u/432092?v=3","gravatar_id":"","url":"https://api.github.com/users/Tradeshift","html_url":"https://github.com/Tradeshift","followers_url":"https://api.github.com/users/Tradeshift/followers","following_url":"https://api.github.com/users/Tradeshift/following{/other_user}","gists_url":"https://api.github.com/users/Tradeshift/gists{/gist_id}","starred_url":"https://api.github.com/users/Tradeshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tradeshift/subscriptions","organizations_url":"https://api.github.com/users/Tradeshift/orgs","repos_url":"https://api.github.com/users/Tradeshift/repos","events_url":"https://api.github.com/users/Tradeshift/events{/privacy}","received_events_url":"https://api.github.com/users/Tradeshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tradeshift/ts-reaktive","description":"This repository shows how to build reactive applications in Java 8 using the Akka framework, on Akka Persistence, with cassandra as backend, and exposing an event sourced stream using HTTP.","fork":false,"url":"https://api.github.com/repos/Tradeshift/ts-reaktive","forks_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/forks","keys_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/teams","hooks_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/hooks","issue_events_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/issues/events{/number}","events_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/events","assignees_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/assignees{/user}","branches_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/branches{/branch}","tags_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/tags","blobs_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/statuses/{sha}","languages_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/languages","stargazers_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/stargazers","contributors_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/contributors","subscribers_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/subscribers","subscription_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/subscription","commits_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/contents/{+path}","compare_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/merges","archive_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/downloads","issues_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/issues{/number}","pulls_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls{/number}","milestones_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/milestones{/number}","notifications_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/labels{/name}","releases_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/releases{/id}","deployments_url":"https://api.github.com/repos/Tradeshift/ts-reaktive/deployments","created_at":"2016-05-26T11:36:17Z","updated_at":"2016-05-31T08:19:00Z","pushed_at":"2016-09-01T14:20:23Z","git_url":"git://github.com/Tradeshift/ts-reaktive.git","ssh_url":"git@github.com:Tradeshift/ts-reaktive.git","clone_url":"https://github.com/Tradeshift/ts-reaktive.git","svn_url":"https://github.com/Tradeshift/ts-reaktive","homepage":"","size":255,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/23"},"html":{"href":"https://github.com/Tradeshift/ts-reaktive/pull/23"},"issue":{"href":"https://api.github.com/repos/Tradeshift/ts-reaktive/issues/23"},"comments":{"href":"https://api.github.com/repos/Tradeshift/ts-reaktive/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tradeshift/ts-reaktive/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/Tradeshift/ts-reaktive/statuses/3b0c7c84557cbed6d83f2d143889c1d9f1d03f41"}}}}
{"actor":{"display_login":"ehats"}}