{"action":"created","issue":{"url":"https://api.github.com/repos/hanami/model/issues/351","repository_url":"https://api.github.com/repos/hanami/model","labels_url":"https://api.github.com/repos/hanami/model/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/hanami/model/issues/351/comments","events_url":"https://api.github.com/repos/hanami/model/issues/351/events","html_url":"https://github.com/hanami/model/issues/351","id":191152980,"number":351,"title":"Count method","user":{"login":"davydovanton","id":1147484,"avatar_url":"https://avatars.githubusercontent.com/u/1147484?v=3","gravatar_id":"","url":"https://api.github.com/users/davydovanton","html_url":"https://github.com/davydovanton","followers_url":"https://api.github.com/users/davydovanton/followers","following_url":"https://api.github.com/users/davydovanton/following{/other_user}","gists_url":"https://api.github.com/users/davydovanton/gists{/gist_id}","starred_url":"https://api.github.com/users/davydovanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davydovanton/subscriptions","organizations_url":"https://api.github.com/users/davydovanton/orgs","repos_url":"https://api.github.com/users/davydovanton/repos","events_url":"https://api.github.com/users/davydovanton/events{/privacy}","received_events_url":"https://api.github.com/users/davydovanton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-11-22T23:26:56Z","updated_at":"2016-12-02T07:10:31Z","closed_at":null,"body":"I think it will be awesome to create `COUNT` command for repository object. What do you think?\r\nIf you agree I can send PR 😊 "},"comment":{"url":"https://api.github.com/repos/hanami/model/issues/comments/264388994","html_url":"https://github.com/hanami/model/issues/351#issuecomment-264388994","issue_url":"https://api.github.com/repos/hanami/model/issues/351","id":264388994,"user":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T07:10:31Z","updated_at":"2016-12-02T07:10:31Z","body":"> Having a Repo#count would be super hard to implement if it was supposed to work with any adapter.\r\n\r\nI forgot about this aspect, thank you @solnic to reminding us.\r\n\r\n---\r\n\r\nFolks, I think this changes the direction of this discussion. We can't have `#count` as part of the public interface of `Hanami::Repository`, because count logic isn't necessary implemented by the underlying ROM adapter (and database)."}}
{"actor":{"display_login":"jodosha"}}