{"action":"closed","number":7636,"pull_request":{"url":"https://api.github.com/repos/Sylius/Sylius/pulls/7636","id":108291640,"html_url":"https://github.com/Sylius/Sylius/pull/7636","diff_url":"https://github.com/Sylius/Sylius/pull/7636.diff","patch_url":"https://github.com/Sylius/Sylius/pull/7636.patch","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/7636","number":7636,"state":"closed","locked":false,"title":"Avoid n+1 queries while creating a product","user":{"login":"pamil","id":1897953,"avatar_url":"https://avatars2.githubusercontent.com/u/1897953?v=3","gravatar_id":"","url":"https://api.github.com/users/pamil","html_url":"https://github.com/pamil","followers_url":"https://api.github.com/users/pamil/followers","following_url":"https://api.github.com/users/pamil/following{/other_user}","gists_url":"https://api.github.com/users/pamil/gists{/gist_id}","starred_url":"https://api.github.com/users/pamil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pamil/subscriptions","organizations_url":"https://api.github.com/users/pamil/orgs","repos_url":"https://api.github.com/users/pamil/repos","events_url":"https://api.github.com/users/pamil/events{/privacy}","received_events_url":"https://api.github.com/users/pamil/received_events","type":"User","site_admin":false},"body":"| Q               | A\r\n| --------------- | ---\r\n| Bug fix?        | no |\r\n| New feature?    | no |\r\n| BC breaks?      | no |\r\n| Related tickets | - |\r\n| License         | MIT |\r\n\r\nBefore:\r\n![screen shot 2017-02-28 at 10 25 11](https://cloud.githubusercontent.com/assets/1897953/23399906/51a5bf66-fda2-11e6-9a86-2b41421d9ab5.png)\r\n\r\nAfter:\r\n![screen shot 2017-02-28 at 10 35 46](https://cloud.githubusercontent.com/assets/1897953/23399910/560757fe-fda2-11e6-98f1-f70067e282cd.png)","created_at":"2017-02-28T09:40:52Z","updated_at":"2017-03-01T15:29:58Z","closed_at":"2017-03-01T15:29:58Z","merged_at":null,"merge_commit_sha":"669cb623747eed93d1139d27ff3f39814945fd97","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Sylius/Sylius/pulls/7636/commits","review_comments_url":"https://api.github.com/repos/Sylius/Sylius/pulls/7636/comments","review_comment_url":"https://api.github.com/repos/Sylius/Sylius/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/7636/comments","statuses_url":"https://api.github.com/repos/Sylius/Sylius/statuses/2cf7c810363d1409eae043ac1e49b5c2a57f5e02","head":{"label":"pamil:product-create-admin","ref":"product-create-admin","sha":"2cf7c810363d1409eae043ac1e49b5c2a57f5e02","user":{"login":"pamil","id":1897953,"avatar_url":"https://avatars2.githubusercontent.com/u/1897953?v=3","gravatar_id":"","url":"https://api.github.com/users/pamil","html_url":"https://github.com/pamil","followers_url":"https://api.github.com/users/pamil/followers","following_url":"https://api.github.com/users/pamil/following{/other_user}","gists_url":"https://api.github.com/users/pamil/gists{/gist_id}","starred_url":"https://api.github.com/users/pamil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pamil/subscriptions","organizations_url":"https://api.github.com/users/pamil/orgs","repos_url":"https://api.github.com/users/pamil/repos","events_url":"https://api.github.com/users/pamil/events{/privacy}","received_events_url":"https://api.github.com/users/pamil/received_events","type":"User","site_admin":false},"repo":{"id":33619140,"name":"Sylius","full_name":"pamil/Sylius","owner":{"login":"pamil","id":1897953,"avatar_url":"https://avatars2.githubusercontent.com/u/1897953?v=3","gravatar_id":"","url":"https://api.github.com/users/pamil","html_url":"https://github.com/pamil","followers_url":"https://api.github.com/users/pamil/followers","following_url":"https://api.github.com/users/pamil/following{/other_user}","gists_url":"https://api.github.com/users/pamil/gists{/gist_id}","starred_url":"https://api.github.com/users/pamil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pamil/subscriptions","organizations_url":"https://api.github.com/users/pamil/orgs","repos_url":"https://api.github.com/users/pamil/repos","events_url":"https://api.github.com/users/pamil/events{/privacy}","received_events_url":"https://api.github.com/users/pamil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pamil/Sylius","description":"Modern e-commerce for PHP, based on the Symfony2 framework.","fork":true,"url":"https://api.github.com/repos/pamil/Sylius","forks_url":"https://api.github.com/repos/pamil/Sylius/forks","keys_url":"https://api.github.com/repos/pamil/Sylius/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pamil/Sylius/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pamil/Sylius/teams","hooks_url":"https://api.github.com/repos/pamil/Sylius/hooks","issue_events_url":"https://api.github.com/repos/pamil/Sylius/issues/events{/number}","events_url":"https://api.github.com/repos/pamil/Sylius/events","assignees_url":"https://api.github.com/repos/pamil/Sylius/assignees{/user}","branches_url":"https://api.github.com/repos/pamil/Sylius/branches{/branch}","tags_url":"https://api.github.com/repos/pamil/Sylius/tags","blobs_url":"https://api.github.com/repos/pamil/Sylius/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pamil/Sylius/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pamil/Sylius/git/refs{/sha}","trees_url":"https://api.github.com/repos/pamil/Sylius/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pamil/Sylius/statuses/{sha}","languages_url":"https://api.github.com/repos/pamil/Sylius/languages","stargazers_url":"https://api.github.com/repos/pamil/Sylius/stargazers","contributors_url":"https://api.github.com/repos/pamil/Sylius/contributors","subscribers_url":"https://api.github.com/repos/pamil/Sylius/subscribers","subscription_url":"https://api.github.com/repos/pamil/Sylius/subscription","commits_url":"https://api.github.com/repos/pamil/Sylius/commits{/sha}","git_commits_url":"https://api.github.com/repos/pamil/Sylius/git/commits{/sha}","comments_url":"https://api.github.com/repos/pamil/Sylius/comments{/number}","issue_comment_url":"https://api.github.com/repos/pamil/Sylius/issues/comments{/number}","contents_url":"https://api.github.com/repos/pamil/Sylius/contents/{+path}","compare_url":"https://api.github.com/repos/pamil/Sylius/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pamil/Sylius/merges","archive_url":"https://api.github.com/repos/pamil/Sylius/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pamil/Sylius/downloads","issues_url":"https://api.github.com/repos/pamil/Sylius/issues{/number}","pulls_url":"https://api.github.com/repos/pamil/Sylius/pulls{/number}","milestones_url":"https://api.github.com/repos/pamil/Sylius/milestones{/number}","notifications_url":"https://api.github.com/repos/pamil/Sylius/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pamil/Sylius/labels{/name}","releases_url":"https://api.github.com/repos/pamil/Sylius/releases{/id}","deployments_url":"https://api.github.com/repos/pamil/Sylius/deployments","created_at":"2015-04-08T16:39:30Z","updated_at":"2016-01-11T13:14:03Z","pushed_at":"2017-03-01T15:08:22Z","git_url":"git://github.com/pamil/Sylius.git","ssh_url":"git@github.com:pamil/Sylius.git","clone_url":"https://github.com/pamil/Sylius.git","svn_url":"https://github.com/pamil/Sylius","homepage":"Sylius.org","size":56882,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Sylius:master","ref":"master","sha":"e3540e9bccef3bee13fcc8e1ea9868a2ac0596f9","user":{"login":"Sylius","id":719423,"avatar_url":"https://avatars1.githubusercontent.com/u/719423?v=3","gravatar_id":"","url":"https://api.github.com/users/Sylius","html_url":"https://github.com/Sylius","followers_url":"https://api.github.com/users/Sylius/followers","following_url":"https://api.github.com/users/Sylius/following{/other_user}","gists_url":"https://api.github.com/users/Sylius/gists{/gist_id}","starred_url":"https://api.github.com/users/Sylius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sylius/subscriptions","organizations_url":"https://api.github.com/users/Sylius/orgs","repos_url":"https://api.github.com/users/Sylius/repos","events_url":"https://api.github.com/users/Sylius/events{/privacy}","received_events_url":"https://api.github.com/users/Sylius/received_events","type":"Organization","site_admin":false},"repo":{"id":2717549,"name":"Sylius","full_name":"Sylius/Sylius","owner":{"login":"Sylius","id":719423,"avatar_url":"https://avatars1.githubusercontent.com/u/719423?v=3","gravatar_id":"","url":"https://api.github.com/users/Sylius","html_url":"https://github.com/Sylius","followers_url":"https://api.github.com/users/Sylius/followers","following_url":"https://api.github.com/users/Sylius/following{/other_user}","gists_url":"https://api.github.com/users/Sylius/gists{/gist_id}","starred_url":"https://api.github.com/users/Sylius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sylius/subscriptions","organizations_url":"https://api.github.com/users/Sylius/orgs","repos_url":"https://api.github.com/users/Sylius/repos","events_url":"https://api.github.com/users/Sylius/events{/privacy}","received_events_url":"https://api.github.com/users/Sylius/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sylius/Sylius","description":"eCommerce PHP framework built on top of Symfony with component-based architecture and format-agnostic rendering. (HTML/JSON/XML)","fork":false,"url":"https://api.github.com/repos/Sylius/Sylius","forks_url":"https://api.github.com/repos/Sylius/Sylius/forks","keys_url":"https://api.github.com/repos/Sylius/Sylius/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sylius/Sylius/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sylius/Sylius/teams","hooks_url":"https://api.github.com/repos/Sylius/Sylius/hooks","issue_events_url":"https://api.github.com/repos/Sylius/Sylius/issues/events{/number}","events_url":"https://api.github.com/repos/Sylius/Sylius/events","assignees_url":"https://api.github.com/repos/Sylius/Sylius/assignees{/user}","branches_url":"https://api.github.com/repos/Sylius/Sylius/branches{/branch}","tags_url":"https://api.github.com/repos/Sylius/Sylius/tags","blobs_url":"https://api.github.com/repos/Sylius/Sylius/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sylius/Sylius/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sylius/Sylius/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sylius/Sylius/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sylius/Sylius/statuses/{sha}","languages_url":"https://api.github.com/repos/Sylius/Sylius/languages","stargazers_url":"https://api.github.com/repos/Sylius/Sylius/stargazers","contributors_url":"https://api.github.com/repos/Sylius/Sylius/contributors","subscribers_url":"https://api.github.com/repos/Sylius/Sylius/subscribers","subscription_url":"https://api.github.com/repos/Sylius/Sylius/subscription","commits_url":"https://api.github.com/repos/Sylius/Sylius/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sylius/Sylius/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sylius/Sylius/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sylius/Sylius/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sylius/Sylius/contents/{+path}","compare_url":"https://api.github.com/repos/Sylius/Sylius/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sylius/Sylius/merges","archive_url":"https://api.github.com/repos/Sylius/Sylius/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sylius/Sylius/downloads","issues_url":"https://api.github.com/repos/Sylius/Sylius/issues{/number}","pulls_url":"https://api.github.com/repos/Sylius/Sylius/pulls{/number}","milestones_url":"https://api.github.com/repos/Sylius/Sylius/milestones{/number}","notifications_url":"https://api.github.com/repos/Sylius/Sylius/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sylius/Sylius/labels{/name}","releases_url":"https://api.github.com/repos/Sylius/Sylius/releases{/id}","deployments_url":"https://api.github.com/repos/Sylius/Sylius/deployments","created_at":"2011-11-05T22:05:52Z","updated_at":"2017-03-01T12:57:26Z","pushed_at":"2017-03-01T15:29:30Z","git_url":"git://github.com/Sylius/Sylius.git","ssh_url":"git@github.com:Sylius/Sylius.git","clone_url":"https://github.com/Sylius/Sylius.git","svn_url":"https://github.com/Sylius/Sylius","homepage":"http://Sylius.org","size":57079,"stargazers_count":2832,"watchers_count":2832,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1040,"mirror_url":null,"open_issues_count":466,"forks":1040,"open_issues":466,"watchers":2832,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/7636"},"html":{"href":"https://github.com/Sylius/Sylius/pull/7636"},"issue":{"href":"https://api.github.com/repos/Sylius/Sylius/issues/7636"},"comments":{"href":"https://api.github.com/repos/Sylius/Sylius/issues/7636/comments"},"review_comments":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/7636/comments"},"review_comment":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/7636/commits"},"statuses":{"href":"https://api.github.com/repos/Sylius/Sylius/statuses/2cf7c810363d1409eae043ac1e49b5c2a57f5e02"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":3,"maintainer_can_modify":false,"commits":1,"additions":109,"deletions":1,"changed_files":5}}
{"actor":{"display_login":"pjedrzejewski"}}