{"action":"closed","issue":{"url":"https://api.github.com/repos/api-platform/api-platform/issues/547","repository_url":"https://api.github.com/repos/api-platform/api-platform","labels_url":"https://api.github.com/repos/api-platform/api-platform/issues/547/labels{/name}","comments_url":"https://api.github.com/repos/api-platform/api-platform/issues/547/comments","events_url":"https://api.github.com/repos/api-platform/api-platform/issues/547/events","html_url":"https://github.com/api-platform/api-platform/issues/547","id":293674649,"number":547,"title":"Attribute/property not writable when using magic call method","user":{"login":"silverbackdan","id":25174262,"avatar_url":"https://avatars0.githubusercontent.com/u/25174262?v=4","gravatar_id":"","url":"https://api.github.com/users/silverbackdan","html_url":"https://github.com/silverbackdan","followers_url":"https://api.github.com/users/silverbackdan/followers","following_url":"https://api.github.com/users/silverbackdan/following{/other_user}","gists_url":"https://api.github.com/users/silverbackdan/gists{/gist_id}","starred_url":"https://api.github.com/users/silverbackdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverbackdan/subscriptions","organizations_url":"https://api.github.com/users/silverbackdan/orgs","repos_url":"https://api.github.com/users/silverbackdan/repos","events_url":"https://api.github.com/users/silverbackdan/events{/privacy}","received_events_url":"https://api.github.com/users/silverbackdan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-01T20:36:12Z","updated_at":"2018-02-01T21:10:55Z","closed_at":"2018-02-01T21:10:55Z","author_association":"NONE","body":"I have managed to enable the magic `__call` method from the Symfony serializer being used in API Platform but it appears I cannot set a class attribute to be writable unless I make it public or add a specific setter.\r\n\r\nWould it be possible to allow the `@ApiProperty(writable=true)` to make the property metadata update to become writable? Then the attribute would populate into the allowed attributes and the property accessor will use the magic __call method."}}
{"actor":{"display_login":"silverbackdan"}}