{"action":"created","issue":{"url":"https://api.github.com/repos/schmittjoh/JMSSerializerBundle/issues/512","repository_url":"https://api.github.com/repos/schmittjoh/JMSSerializerBundle","labels_url":"https://api.github.com/repos/schmittjoh/JMSSerializerBundle/issues/512/labels{/name}","comments_url":"https://api.github.com/repos/schmittjoh/JMSSerializerBundle/issues/512/comments","events_url":"https://api.github.com/repos/schmittjoh/JMSSerializerBundle/issues/512/events","html_url":"https://github.com/schmittjoh/JMSSerializerBundle/issues/512","id":144705744,"number":512,"title":"AccessorOrder : properties vs virtualProperty","user":{"login":"SmurfyFR","id":2379631,"avatar_url":"https://avatars3.githubusercontent.com/u/2379631?v=4","gravatar_id":"","url":"https://api.github.com/users/SmurfyFR","html_url":"https://github.com/SmurfyFR","followers_url":"https://api.github.com/users/SmurfyFR/followers","following_url":"https://api.github.com/users/SmurfyFR/following{/other_user}","gists_url":"https://api.github.com/users/SmurfyFR/gists{/gist_id}","starred_url":"https://api.github.com/users/SmurfyFR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmurfyFR/subscriptions","organizations_url":"https://api.github.com/users/SmurfyFR/orgs","repos_url":"https://api.github.com/users/SmurfyFR/repos","events_url":"https://api.github.com/users/SmurfyFR/events{/privacy}","received_events_url":"https://api.github.com/users/SmurfyFR/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-03-30T20:09:11Z","updated_at":"2017-09-24T13:35:52Z","closed_at":"2017-03-29T11:28:38Z","author_association":"NONE","body":"Hello,\n\nThe actual behavior of the serializer is to put virtual property on top of the resulting serialized string, but ...\nShouldn't be a way to set the accessor order like : \"properties first, virtual property after ?\"\nI know it's possible to set this order with the `@AccessorOrder` property, but I think it could be easier.\nMaybe I'm missing a feature of this bundle?\n\nRegards,\n"},"comment":{"url":"https://api.github.com/repos/schmittjoh/JMSSerializerBundle/issues/comments/331710477","html_url":"https://github.com/schmittjoh/JMSSerializerBundle/issues/512#issuecomment-331710477","issue_url":"https://api.github.com/repos/schmittjoh/JMSSerializerBundle/issues/512","id":331710477,"user":{"login":"montera82","id":8665738,"avatar_url":"https://avatars2.githubusercontent.com/u/8665738?v=4","gravatar_id":"","url":"https://api.github.com/users/montera82","html_url":"https://github.com/montera82","followers_url":"https://api.github.com/users/montera82/followers","following_url":"https://api.github.com/users/montera82/following{/other_user}","gists_url":"https://api.github.com/users/montera82/gists{/gist_id}","starred_url":"https://api.github.com/users/montera82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montera82/subscriptions","organizations_url":"https://api.github.com/users/montera82/orgs","repos_url":"https://api.github.com/users/montera82/repos","events_url":"https://api.github.com/users/montera82/events{/privacy}","received_events_url":"https://api.github.com/users/montera82/received_events","type":"User","site_admin":false},"created_at":"2017-09-24T13:35:52Z","updated_at":"2017-09-24T13:35:52Z","author_association":"NONE","body":"i no this is clossed...but @goetas how would i be able to use accessOrder in yaml\r\n\r\n```yaml\r\n---\r\nAppbundle\\Class\\Foo:\r\n  exclusion_policy: ALL\r\n  properties:\r\n    id:\r\n      expose: true\r\n      type: string\r\n    name:\r\n      expose: true\r\n      type: string\r\n```\r\n\r\ni want name to come before ID...i could only see examples online to do this inline within the model class...any ideas"}}
{"actor":{"display_login":"montera82"}}