{"action":"created","issue":{"url":"https://api.github.com/repos/toggl/mobileapp/issues/1711","repository_url":"https://api.github.com/repos/toggl/mobileapp","labels_url":"https://api.github.com/repos/toggl/mobileapp/issues/1711/labels{/name}","comments_url":"https://api.github.com/repos/toggl/mobileapp/issues/1711/comments","events_url":"https://api.github.com/repos/toggl/mobileapp/issues/1711/events","html_url":"https://github.com/toggl/mobileapp/pull/1711","id":304861698,"number":1711,"title":"Replace builders by With() methods","user":{"login":"amulware","id":3987892,"avatar_url":"https://avatars2.githubusercontent.com/u/3987892?v=4","gravatar_id":"","url":"https://api.github.com/users/amulware","html_url":"https://github.com/amulware","followers_url":"https://api.github.com/users/amulware/followers","following_url":"https://api.github.com/users/amulware/following{/other_user}","gists_url":"https://api.github.com/users/amulware/gists{/gist_id}","starred_url":"https://api.github.com/users/amulware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amulware/subscriptions","organizations_url":"https://api.github.com/users/amulware/orgs","repos_url":"https://api.github.com/users/amulware/repos","events_url":"https://api.github.com/users/amulware/events{/privacy}","received_events_url":"https://api.github.com/users/amulware/received_events","type":"User","site_admin":false},"labels":[{"id":829930771,"url":"https://api.github.com/repos/toggl/mobileapp/labels/refactoring","name":"refactoring","color":"ffe787","default":false},{"id":591497477,"url":"https://api.github.com/repos/toggl/mobileapp/labels/wip","name":"wip","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-13T17:26:04Z","updated_at":"2018-03-22T17:26:50Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/toggl/mobileapp/pulls/1711","html_url":"https://github.com/toggl/mobileapp/pull/1711","diff_url":"https://github.com/toggl/mobileapp/pull/1711.diff","patch_url":"https://github.com/toggl/mobileapp/pull/1711.patch"},"body":"Ref #1681\r\n\r\nConsider this a proposal. We were talking internally about using `With()` methods to mutate models. This is a first draft of how that could be done. Comments are very welcome.\r\n\r\nNote that I edited the generated files directly. If we agree on how we'd like to do things, I would, of course, change the generators and use the same kind of logic everywhere. I would also generate the `With()` extension methods because that would be trivial to do."},"comment":{"url":"https://api.github.com/repos/toggl/mobileapp/issues/comments/375390497","html_url":"https://github.com/toggl/mobileapp/pull/1711#issuecomment-375390497","issue_url":"https://api.github.com/repos/toggl/mobileapp/issues/1711","id":375390497,"user":{"login":"amulware","id":3987892,"avatar_url":"https://avatars2.githubusercontent.com/u/3987892?v=4","gravatar_id":"","url":"https://api.github.com/users/amulware","html_url":"https://github.com/amulware","followers_url":"https://api.github.com/users/amulware/followers","following_url":"https://api.github.com/users/amulware/following{/other_user}","gists_url":"https://api.github.com/users/amulware/gists{/gist_id}","starred_url":"https://api.github.com/users/amulware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amulware/subscriptions","organizations_url":"https://api.github.com/users/amulware/orgs","repos_url":"https://api.github.com/users/amulware/repos","events_url":"https://api.github.com/users/amulware/events{/privacy}","received_events_url":"https://api.github.com/users/amulware/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T17:26:50Z","updated_at":"2018-03-22T17:26:50Z","author_association":"OWNER","body":"Yap. You're correct. I forgot we're calling it on the interface, not on the model."}}
{"actor":{"display_login":"amulware"}}