{"action":"closed","number":170,"pull_request":{"url":"https://api.github.com/repos/FoalTS/foal/pulls/170","id":208281414,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MjgxNDE0","html_url":"https://github.com/FoalTS/foal/pull/170","diff_url":"https://github.com/FoalTS/foal/pull/170.diff","patch_url":"https://github.com/FoalTS/foal/pull/170.patch","issue_url":"https://api.github.com/repos/FoalTS/foal/issues/170","number":170,"state":"closed","locked":false,"title":"Rename `ISerializer` to `IResourceCollection` and `EntitySerializer` to `EntityResourceCollection`","user":{"login":"LoicPoullain","id":13604533,"node_id":"MDQ6VXNlcjEzNjA0NTMz","avatar_url":"https://avatars2.githubusercontent.com/u/13604533?v=4","gravatar_id":"","url":"https://api.github.com/users/LoicPoullain","html_url":"https://github.com/LoicPoullain","followers_url":"https://api.github.com/users/LoicPoullain/followers","following_url":"https://api.github.com/users/LoicPoullain/following{/other_user}","gists_url":"https://api.github.com/users/LoicPoullain/gists{/gist_id}","starred_url":"https://api.github.com/users/LoicPoullain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoicPoullain/subscriptions","organizations_url":"https://api.github.com/users/LoicPoullain/orgs","repos_url":"https://api.github.com/users/LoicPoullain/repos","events_url":"https://api.github.com/users/LoicPoullain/events{/privacy}","received_events_url":"https://api.github.com/users/LoicPoullain/received_events","type":"User","site_admin":false},"body":"# Issue\r\n\r\n`Serializer` is a bad name since it does not reflect what such services do. They are actually that perform CRUD operations on a collection of resources and return representations of them.\r\n\r\n# Solution and steps\r\n\r\n- [x] `ISerializer` -> `IResourceCollection`\r\n- [x] `EntitySerializer` -> `EntityResourceCollection`\r\n\r\n# Checklist\r\n\r\n- [x] Add/update/check docs.\r\n- [x] Add/update/check tests.\r\n- [x] Update/check the cli generators.","created_at":"2018-08-14T13:28:13Z","updated_at":"2018-08-14T13:32:53Z","closed_at":"2018-08-14T13:32:53Z","merged_at":"2018-08-14T13:32:53Z","merge_commit_sha":"7927d1f643b1ea81a7da09c86a3a40e52ecd8191","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":694995470,"node_id":"MDU6TGFiZWw2OTQ5OTU0NzA=","url":"https://api.github.com/repos/FoalTS/foal/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/FoalTS/foal/pulls/170/commits","review_comments_url":"https://api.github.com/repos/FoalTS/foal/pulls/170/comments","review_comment_url":"https://api.github.com/repos/FoalTS/foal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FoalTS/foal/issues/170/comments","statuses_url":"https://api.github.com/repos/FoalTS/foal/statuses/0570c9531ada1985b315d9b2f37a7f8b855a7c35","head":{"label":"FoalTS:serializer-to-collection","ref":"serializer-to-collection","sha":"0570c9531ada1985b315d9b2f37a7f8b855a7c35","user":{"login":"FoalTS","id":32041046,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDQxMDQ2","avatar_url":"https://avatars1.githubusercontent.com/u/32041046?v=4","gravatar_id":"","url":"https://api.github.com/users/FoalTS","html_url":"https://github.com/FoalTS","followers_url":"https://api.github.com/users/FoalTS/followers","following_url":"https://api.github.com/users/FoalTS/following{/other_user}","gists_url":"https://api.github.com/users/FoalTS/gists{/gist_id}","starred_url":"https://api.github.com/users/FoalTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoalTS/subscriptions","organizations_url":"https://api.github.com/users/FoalTS/orgs","repos_url":"https://api.github.com/users/FoalTS/repos","events_url":"https://api.github.com/users/FoalTS/events{/privacy}","received_events_url":"https://api.github.com/users/FoalTS/received_events","type":"Organization","site_admin":false},"repo":{"id":103851485,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM4NTE0ODU=","name":"foal","full_name":"FoalTS/foal","owner":{"login":"FoalTS","id":32041046,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDQxMDQ2","avatar_url":"https://avatars1.githubusercontent.com/u/32041046?v=4","gravatar_id":"","url":"https://api.github.com/users/FoalTS","html_url":"https://github.com/FoalTS","followers_url":"https://api.github.com/users/FoalTS/followers","following_url":"https://api.github.com/users/FoalTS/following{/other_user}","gists_url":"https://api.github.com/users/FoalTS/gists{/gist_id}","starred_url":"https://api.github.com/users/FoalTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoalTS/subscriptions","organizations_url":"https://api.github.com/users/FoalTS/orgs","repos_url":"https://api.github.com/users/FoalTS/repos","events_url":"https://api.github.com/users/FoalTS/events{/privacy}","received_events_url":"https://api.github.com/users/FoalTS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FoalTS/foal","description":"Create enterprise-grade Node.JS applications.","fork":false,"url":"https://api.github.com/repos/FoalTS/foal","forks_url":"https://api.github.com/repos/FoalTS/foal/forks","keys_url":"https://api.github.com/repos/FoalTS/foal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FoalTS/foal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FoalTS/foal/teams","hooks_url":"https://api.github.com/repos/FoalTS/foal/hooks","issue_events_url":"https://api.github.com/repos/FoalTS/foal/issues/events{/number}","events_url":"https://api.github.com/repos/FoalTS/foal/events","assignees_url":"https://api.github.com/repos/FoalTS/foal/assignees{/user}","branches_url":"https://api.github.com/repos/FoalTS/foal/branches{/branch}","tags_url":"https://api.github.com/repos/FoalTS/foal/tags","blobs_url":"https://api.github.com/repos/FoalTS/foal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FoalTS/foal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FoalTS/foal/git/refs{/sha}","trees_url":"https://api.github.com/repos/FoalTS/foal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FoalTS/foal/statuses/{sha}","languages_url":"https://api.github.com/repos/FoalTS/foal/languages","stargazers_url":"https://api.github.com/repos/FoalTS/foal/stargazers","contributors_url":"https://api.github.com/repos/FoalTS/foal/contributors","subscribers_url":"https://api.github.com/repos/FoalTS/foal/subscribers","subscription_url":"https://api.github.com/repos/FoalTS/foal/subscription","commits_url":"https://api.github.com/repos/FoalTS/foal/commits{/sha}","git_commits_url":"https://api.github.com/repos/FoalTS/foal/git/commits{/sha}","comments_url":"https://api.github.com/repos/FoalTS/foal/comments{/number}","issue_comment_url":"https://api.github.com/repos/FoalTS/foal/issues/comments{/number}","contents_url":"https://api.github.com/repos/FoalTS/foal/contents/{+path}","compare_url":"https://api.github.com/repos/FoalTS/foal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FoalTS/foal/merges","archive_url":"https://api.github.com/repos/FoalTS/foal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FoalTS/foal/downloads","issues_url":"https://api.github.com/repos/FoalTS/foal/issues{/number}","pulls_url":"https://api.github.com/repos/FoalTS/foal/pulls{/number}","milestones_url":"https://api.github.com/repos/FoalTS/foal/milestones{/number}","notifications_url":"https://api.github.com/repos/FoalTS/foal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FoalTS/foal/labels{/name}","releases_url":"https://api.github.com/repos/FoalTS/foal/releases{/id}","deployments_url":"https://api.github.com/repos/FoalTS/foal/deployments","created_at":"2017-09-17T18:20:25Z","updated_at":"2018-08-13T19:17:06Z","pushed_at":"2018-08-14T13:32:53Z","git_url":"git://github.com/FoalTS/foal.git","ssh_url":"git@github.com:FoalTS/foal.git","clone_url":"https://github.com/FoalTS/foal.git","svn_url":"https://github.com/FoalTS/foal","homepage":"https://foalts.org/","size":2245,"stargazers_count":47,"watchers_count":47,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":14,"watchers":47,"default_branch":"master"}},"base":{"label":"FoalTS:v0-6-0-alpha-5","ref":"v0-6-0-alpha-5","sha":"0f515b0a844464e309b4540c5de6ddc2e670c9a5","user":{"login":"FoalTS","id":32041046,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDQxMDQ2","avatar_url":"https://avatars1.githubusercontent.com/u/32041046?v=4","gravatar_id":"","url":"https://api.github.com/users/FoalTS","html_url":"https://github.com/FoalTS","followers_url":"https://api.github.com/users/FoalTS/followers","following_url":"https://api.github.com/users/FoalTS/following{/other_user}","gists_url":"https://api.github.com/users/FoalTS/gists{/gist_id}","starred_url":"https://api.github.com/users/FoalTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoalTS/subscriptions","organizations_url":"https://api.github.com/users/FoalTS/orgs","repos_url":"https://api.github.com/users/FoalTS/repos","events_url":"https://api.github.com/users/FoalTS/events{/privacy}","received_events_url":"https://api.github.com/users/FoalTS/received_events","type":"Organization","site_admin":false},"repo":{"id":103851485,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM4NTE0ODU=","name":"foal","full_name":"FoalTS/foal","owner":{"login":"FoalTS","id":32041046,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDQxMDQ2","avatar_url":"https://avatars1.githubusercontent.com/u/32041046?v=4","gravatar_id":"","url":"https://api.github.com/users/FoalTS","html_url":"https://github.com/FoalTS","followers_url":"https://api.github.com/users/FoalTS/followers","following_url":"https://api.github.com/users/FoalTS/following{/other_user}","gists_url":"https://api.github.com/users/FoalTS/gists{/gist_id}","starred_url":"https://api.github.com/users/FoalTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoalTS/subscriptions","organizations_url":"https://api.github.com/users/FoalTS/orgs","repos_url":"https://api.github.com/users/FoalTS/repos","events_url":"https://api.github.com/users/FoalTS/events{/privacy}","received_events_url":"https://api.github.com/users/FoalTS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FoalTS/foal","description":"Create enterprise-grade Node.JS applications.","fork":false,"url":"https://api.github.com/repos/FoalTS/foal","forks_url":"https://api.github.com/repos/FoalTS/foal/forks","keys_url":"https://api.github.com/repos/FoalTS/foal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FoalTS/foal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FoalTS/foal/teams","hooks_url":"https://api.github.com/repos/FoalTS/foal/hooks","issue_events_url":"https://api.github.com/repos/FoalTS/foal/issues/events{/number}","events_url":"https://api.github.com/repos/FoalTS/foal/events","assignees_url":"https://api.github.com/repos/FoalTS/foal/assignees{/user}","branches_url":"https://api.github.com/repos/FoalTS/foal/branches{/branch}","tags_url":"https://api.github.com/repos/FoalTS/foal/tags","blobs_url":"https://api.github.com/repos/FoalTS/foal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FoalTS/foal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FoalTS/foal/git/refs{/sha}","trees_url":"https://api.github.com/repos/FoalTS/foal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FoalTS/foal/statuses/{sha}","languages_url":"https://api.github.com/repos/FoalTS/foal/languages","stargazers_url":"https://api.github.com/repos/FoalTS/foal/stargazers","contributors_url":"https://api.github.com/repos/FoalTS/foal/contributors","subscribers_url":"https://api.github.com/repos/FoalTS/foal/subscribers","subscription_url":"https://api.github.com/repos/FoalTS/foal/subscription","commits_url":"https://api.github.com/repos/FoalTS/foal/commits{/sha}","git_commits_url":"https://api.github.com/repos/FoalTS/foal/git/commits{/sha}","comments_url":"https://api.github.com/repos/FoalTS/foal/comments{/number}","issue_comment_url":"https://api.github.com/repos/FoalTS/foal/issues/comments{/number}","contents_url":"https://api.github.com/repos/FoalTS/foal/contents/{+path}","compare_url":"https://api.github.com/repos/FoalTS/foal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FoalTS/foal/merges","archive_url":"https://api.github.com/repos/FoalTS/foal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FoalTS/foal/downloads","issues_url":"https://api.github.com/repos/FoalTS/foal/issues{/number}","pulls_url":"https://api.github.com/repos/FoalTS/foal/pulls{/number}","milestones_url":"https://api.github.com/repos/FoalTS/foal/milestones{/number}","notifications_url":"https://api.github.com/repos/FoalTS/foal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FoalTS/foal/labels{/name}","releases_url":"https://api.github.com/repos/FoalTS/foal/releases{/id}","deployments_url":"https://api.github.com/repos/FoalTS/foal/deployments","created_at":"2017-09-17T18:20:25Z","updated_at":"2018-08-13T19:17:06Z","pushed_at":"2018-08-14T13:32:53Z","git_url":"git://github.com/FoalTS/foal.git","ssh_url":"git@github.com:FoalTS/foal.git","clone_url":"https://github.com/FoalTS/foal.git","svn_url":"https://github.com/FoalTS/foal","homepage":"https://foalts.org/","size":2245,"stargazers_count":47,"watchers_count":47,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":14,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FoalTS/foal/pulls/170"},"html":{"href":"https://github.com/FoalTS/foal/pull/170"},"issue":{"href":"https://api.github.com/repos/FoalTS/foal/issues/170"},"comments":{"href":"https://api.github.com/repos/FoalTS/foal/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/FoalTS/foal/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/FoalTS/foal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FoalTS/foal/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/FoalTS/foal/statuses/0570c9531ada1985b315d9b2f37a7f8b855a7c35"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"LoicPoullain","id":13604533,"node_id":"MDQ6VXNlcjEzNjA0NTMz","avatar_url":"https://avatars2.githubusercontent.com/u/13604533?v=4","gravatar_id":"","url":"https://api.github.com/users/LoicPoullain","html_url":"https://github.com/LoicPoullain","followers_url":"https://api.github.com/users/LoicPoullain/followers","following_url":"https://api.github.com/users/LoicPoullain/following{/other_user}","gists_url":"https://api.github.com/users/LoicPoullain/gists{/gist_id}","starred_url":"https://api.github.com/users/LoicPoullain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoicPoullain/subscriptions","organizations_url":"https://api.github.com/users/LoicPoullain/orgs","repos_url":"https://api.github.com/users/LoicPoullain/repos","events_url":"https://api.github.com/users/LoicPoullain/events{/privacy}","received_events_url":"https://api.github.com/users/LoicPoullain/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":158,"deletions":155,"changed_files":22}}
{"actor":{"display_login":"LoicPoullain"}}