{"action":"created","issue":{"url":"https://api.github.com/repos/elongeau/scala-budget/issues/21","repository_url":"https://api.github.com/repos/elongeau/scala-budget","labels_url":"https://api.github.com/repos/elongeau/scala-budget/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/elongeau/scala-budget/issues/21/comments","events_url":"https://api.github.com/repos/elongeau/scala-budget/issues/21/events","html_url":"https://github.com/elongeau/scala-budget/issues/21","id":141248579,"number":21,"title":"Utiliser des fonctions à la place d'une DAO","user":{"login":"elongeau","id":1712989,"avatar_url":"https://avatars.githubusercontent.com/u/1712989?v=3","gravatar_id":"","url":"https://api.github.com/users/elongeau","html_url":"https://github.com/elongeau","followers_url":"https://api.github.com/users/elongeau/followers","following_url":"https://api.github.com/users/elongeau/following{/other_user}","gists_url":"https://api.github.com/users/elongeau/gists{/gist_id}","starred_url":"https://api.github.com/users/elongeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elongeau/subscriptions","organizations_url":"https://api.github.com/users/elongeau/orgs","repos_url":"https://api.github.com/users/elongeau/repos","events_url":"https://api.github.com/users/elongeau/events{/privacy}","received_events_url":"https://api.github.com/users/elongeau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-16T11:44:56Z","updated_at":"2016-03-25T12:42:08Z","closed_at":null,"body":"une `Function[Operation, OperationEvent]`\r\n\r\npar exemple \r\n\r\n```scala\r\nsealed trait OperationAction extends Function[Operation, OperationEvent]\r\nobject Create extends OperationAction\r\n```\r\n\r\n```scala\r\n// où mettre ce code class ou compagnon ?\r\ndef apply(f: OperationAction) = f(operation)\r\n```"},"comment":{"url":"https://api.github.com/repos/elongeau/scala-budget/issues/comments/201265969","html_url":"https://github.com/elongeau/scala-budget/issues/21#issuecomment-201265969","issue_url":"https://api.github.com/repos/elongeau/scala-budget/issues/21","id":201265969,"user":{"login":"elongeau","id":1712989,"avatar_url":"https://avatars.githubusercontent.com/u/1712989?v=3","gravatar_id":"","url":"https://api.github.com/users/elongeau","html_url":"https://github.com/elongeau","followers_url":"https://api.github.com/users/elongeau/followers","following_url":"https://api.github.com/users/elongeau/following{/other_user}","gists_url":"https://api.github.com/users/elongeau/gists{/gist_id}","starred_url":"https://api.github.com/users/elongeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elongeau/subscriptions","organizations_url":"https://api.github.com/users/elongeau/orgs","repos_url":"https://api.github.com/users/elongeau/repos","events_url":"https://api.github.com/users/elongeau/events{/privacy}","received_events_url":"https://api.github.com/users/elongeau/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T12:42:08Z","updated_at":"2016-03-25T12:42:08Z","body":"traité dans la PR #23 "}}