{"action":"closed","issue":{"url":"https://api.github.com/repos/gnosly/fluent-sequence/issues/3","repository_url":"https://api.github.com/repos/gnosly/fluent-sequence","labels_url":"https://api.github.com/repos/gnosly/fluent-sequence/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/gnosly/fluent-sequence/issues/3/comments","events_url":"https://api.github.com/repos/gnosly/fluent-sequence/issues/3/events","html_url":"https://github.com/gnosly/fluent-sequence/issues/3","id":360251332,"node_id":"MDU6SXNzdWUzNjAyNTEzMzI=","number":3,"title":"EventBook.events should be private","user":{"login":"francescopellegrini","id":1105053,"node_id":"MDQ6VXNlcjExMDUwNTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1105053?v=4","gravatar_id":"","url":"https://api.github.com/users/francescopellegrini","html_url":"https://github.com/francescopellegrini","followers_url":"https://api.github.com/users/francescopellegrini/followers","following_url":"https://api.github.com/users/francescopellegrini/following{/other_user}","gists_url":"https://api.github.com/users/francescopellegrini/gists{/gist_id}","starred_url":"https://api.github.com/users/francescopellegrini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francescopellegrini/subscriptions","organizations_url":"https://api.github.com/users/francescopellegrini/orgs","repos_url":"https://api.github.com/users/francescopellegrini/repos","events_url":"https://api.github.com/users/francescopellegrini/events{/privacy}","received_events_url":"https://api.github.com/users/francescopellegrini/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T10:37:42Z","updated_at":"2018-09-18T21:00:32Z","closed_at":"2018-09-18T21:00:32Z","author_association":"CONTRIBUTOR","body":"`EventBook` looks like a Builder to me: elements get appended to an accumulator field which value is treated as immutable when returned to anyone else outside the class scope.\r\n\r\nI suggest to turn `events` into a private field and to provide a getter method that returns an immutable `List`.\r\n\r\nI'll provide a PR soon."}}
{"actor":{"display_login":"gnosly"}}