{"action":"created","issue":{"url":"https://api.github.com/repos/api-platform/core/issues/587","repository_url":"https://api.github.com/repos/api-platform/core","labels_url":"https://api.github.com/repos/api-platform/core/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/api-platform/core/issues/587/comments","events_url":"https://api.github.com/repos/api-platform/core/issues/587/events","html_url":"https://github.com/api-platform/core/pull/587","id":162690647,"number":587,"title":"fix #582 itemOperation Normalization/Denormalization in doc ","user":{"login":"Simperfit","id":3451634,"avatar_url":"https://avatars.githubusercontent.com/u/3451634?v=3","gravatar_id":"","url":"https://api.github.com/users/Simperfit","html_url":"https://github.com/Simperfit","followers_url":"https://api.github.com/users/Simperfit/followers","following_url":"https://api.github.com/users/Simperfit/following{/other_user}","gists_url":"https://api.github.com/users/Simperfit/gists{/gist_id}","starred_url":"https://api.github.com/users/Simperfit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simperfit/subscriptions","organizations_url":"https://api.github.com/users/Simperfit/orgs","repos_url":"https://api.github.com/users/Simperfit/repos","events_url":"https://api.github.com/users/Simperfit/events{/privacy}","received_events_url":"https://api.github.com/users/Simperfit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-28T13:49:56Z","updated_at":"2016-06-30T18:45:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/api-platform/core/pulls/587","html_url":"https://github.com/api-platform/core/pull/587","diff_url":"https://github.com/api-platform/core/pull/587.diff","patch_url":"https://github.com/api-platform/core/pull/587.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | #582 \r\n| License       | MIT\r\n| Doc PR        | \r\n\r\n\r\nI think i'm not bad on this but there is a part of this I don't know how to handle :\r\nSince we are overriding on method, how do I tell the property-info / nelmio that we want this only for the PUT part ?\r\n\r\n```php\r\n/**\r\n * @see http://schema.org/Thing\r\n *\r\n * \r\n * @ApiResource(iri=\"http://schema.org/Thing\", attributes={\r\n *     \"normalization_context\"={\"groups\"={\"thing_default_output\"}},\r\n *     \"denormalization_context\"={\"groups\"={\"thing_default_input\"}}\r\n * }, itemOperations={\r\n *     \"get\"={\"method\"=\"GET\", \"normalization_context\"={\"groups\"={\"thing_default_out_get\"}}, \"denormalization_context\"={\"groups\"={\"thing_default_in_get\"}}},\r\n *     \"put\"={\"method\"=\"PUT\", \"normalization_context\"={\"groups\"={\"thing_default_out_put\"}}, \"denormalization_context\"={\"groups\"={\"thing_default_in_put\"}}},\r\n *     }\r\n * )\r\n */\r\n```\r\n\r\nRight now I only get the overrided part in the doc. It is the intended behaviour ?\r\n\r\nWhich means I lost the ones in the attributes.\r\n\r\n@dunglas What do I miss ?"},"comment":{"url":"https://api.github.com/repos/api-platform/core/issues/comments/229752275","html_url":"https://github.com/api-platform/core/pull/587#issuecomment-229752275","issue_url":"https://api.github.com/repos/api-platform/core/issues/587","id":229752275,"user":{"login":"Simperfit","id":3451634,"avatar_url":"https://avatars.githubusercontent.com/u/3451634?v=3","gravatar_id":"","url":"https://api.github.com/users/Simperfit","html_url":"https://github.com/Simperfit","followers_url":"https://api.github.com/users/Simperfit/followers","following_url":"https://api.github.com/users/Simperfit/following{/other_user}","gists_url":"https://api.github.com/users/Simperfit/gists{/gist_id}","starred_url":"https://api.github.com/users/Simperfit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simperfit/subscriptions","organizations_url":"https://api.github.com/users/Simperfit/orgs","repos_url":"https://api.github.com/users/Simperfit/repos","events_url":"https://api.github.com/users/Simperfit/events{/privacy}","received_events_url":"https://api.github.com/users/Simperfit/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T18:45:48Z","updated_at":"2016-06-30T18:45:48Z","body":"ping @AlexandreHagen could you please test this and tell me if it's correct the issue ?\r\n\r\nping @teohhanhui @dunglas @theofidry this is RFR."}}
{"actor":{"display_login":"Simperfit"}}