{"action":"created","issue":{"url":"https://api.github.com/repos/api-platform/core/issues/826","repository_url":"https://api.github.com/repos/api-platform/core","labels_url":"https://api.github.com/repos/api-platform/core/issues/826/labels{/name}","comments_url":"https://api.github.com/repos/api-platform/core/issues/826/comments","events_url":"https://api.github.com/repos/api-platform/core/issues/826/events","html_url":"https://github.com/api-platform/core/pull/826","id":187362509,"number":826,"title":"No need to explicilty fetch data in normalizers","user":{"login":"soyuka","id":1321971,"avatar_url":"https://avatars.githubusercontent.com/u/1321971?v=3","gravatar_id":"","url":"https://api.github.com/users/soyuka","html_url":"https://github.com/soyuka","followers_url":"https://api.github.com/users/soyuka/followers","following_url":"https://api.github.com/users/soyuka/following{/other_user}","gists_url":"https://api.github.com/users/soyuka/gists{/gist_id}","starred_url":"https://api.github.com/users/soyuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soyuka/subscriptions","organizations_url":"https://api.github.com/users/soyuka/orgs","repos_url":"https://api.github.com/users/soyuka/repos","events_url":"https://api.github.com/users/soyuka/events{/privacy}","received_events_url":"https://api.github.com/users/soyuka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-04T15:26:01Z","updated_at":"2016-11-05T09:26:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/api-platform/core/pulls/826","html_url":"https://github.com/api-platform/core/pull/826","diff_url":"https://github.com/api-platform/core/pull/826.diff","patch_url":"https://github.com/api-platform/core/pull/826.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | na\r\n| License       | MIT\r\n| Doc PR        | na\r\n\r\nCorrect me if I'm wrong, but I think we don't need to explicitly fetch data in the denormalizeRelation. I'm not sure about normalization contexts, but if we have the ID, going through the reference should be enough. Is there a reason I don't see that we need to keep those? If there is one, it's not in the behat tests and I'd like to add it, thanks!\r\n"},"comment":{"url":"https://api.github.com/repos/api-platform/core/issues/comments/258600568","html_url":"https://github.com/api-platform/core/pull/826#issuecomment-258600568","issue_url":"https://api.github.com/repos/api-platform/core/issues/826","id":258600568,"user":{"login":"soyuka","id":1321971,"avatar_url":"https://avatars.githubusercontent.com/u/1321971?v=3","gravatar_id":"","url":"https://api.github.com/users/soyuka","html_url":"https://github.com/soyuka","followers_url":"https://api.github.com/users/soyuka/followers","following_url":"https://api.github.com/users/soyuka/following{/other_user}","gists_url":"https://api.github.com/users/soyuka/gists{/gist_id}","starred_url":"https://api.github.com/users/soyuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soyuka/subscriptions","organizations_url":"https://api.github.com/users/soyuka/orgs","repos_url":"https://api.github.com/users/soyuka/repos","events_url":"https://api.github.com/users/soyuka/events{/privacy}","received_events_url":"https://api.github.com/users/soyuka/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T09:26:32Z","updated_at":"2016-11-05T09:26:32Z","body":"Should this change be applied to those files too?\r\n\r\n- https://github.com/api-platform/core/blob/0c634da7fabeb98707c3593ec69b6748166f979d/src/Serializer/ItemNormalizer.php#L36\r\n- https://github.com/api-platform/core/blob/0c634da7fabeb98707c3593ec69b6748166f979d/src/JsonLd/Serializer/ItemNormalizer.php#L98"}}
{"actor":{"display_login":"soyuka"}}