{"action":"opened","issue":{"url":"https://api.github.com/repos/akka/akka/issues/25133","repository_url":"https://api.github.com/repos/akka/akka","labels_url":"https://api.github.com/repos/akka/akka/issues/25133/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka/issues/25133/comments","events_url":"https://api.github.com/repos/akka/akka/issues/25133/events","html_url":"https://github.com/akka/akka/issues/25133","id":325634030,"number":25133,"title":"remove andThen overload in Typed persistence","user":{"login":"patriknw","id":336161,"avatar_url":"https://avatars3.githubusercontent.com/u/336161?v=4","gravatar_id":"","url":"https://api.github.com/users/patriknw","html_url":"https://github.com/patriknw","followers_url":"https://api.github.com/users/patriknw/followers","following_url":"https://api.github.com/users/patriknw/following{/other_user}","gists_url":"https://api.github.com/users/patriknw/gists{/gist_id}","starred_url":"https://api.github.com/users/patriknw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriknw/subscriptions","organizations_url":"https://api.github.com/users/patriknw/orgs","repos_url":"https://api.github.com/users/patriknw/repos","events_url":"https://api.github.com/users/patriknw/events{/privacy}","received_events_url":"https://api.github.com/users/patriknw/received_events","type":"User","site_admin":false},"labels":[{"id":92356828,"url":"https://api.github.com/repos/akka/akka/labels/1%20-%20triaged","name":"1 - triaged","color":"5319e7","default":false},{"id":92611711,"url":"https://api.github.com/repos/akka/akka/labels/t:persistence","name":"t:persistence","color":"CCCCCC","default":false},{"id":171272294,"url":"https://api.github.com/repos/akka/akka/labels/t:typed","name":"t:typed","color":"eeeeee","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T09:58:46Z","updated_at":"2018-05-23T09:58:46Z","closed_at":null,"author_association":"MEMBER","body":"because it prevents writing things like:\r\n```\r\n  .andThen {\r\n    case OpenedAccount(balance) ⇒\r\n      // do some side-effect using balance\r\n      println(balance)\r\n  }\r\n```\r\n\r\nadding the `_ =>` when you don't need the state isn't too bad"}}
{"actor":{"display_login":"patriknw"}}