{"action":"created","issue":{"url":"https://api.github.com/repos/nelmio/alice/issues/328","repository_url":"https://api.github.com/repos/nelmio/alice","labels_url":"https://api.github.com/repos/nelmio/alice/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/nelmio/alice/issues/328/comments","events_url":"https://api.github.com/repos/nelmio/alice/issues/328/events","html_url":"https://github.com/nelmio/alice/issues/328","id":152643123,"number":328,"title":"[v3] Rework Populator","user":{"login":"theofidry","id":5175937,"avatar_url":"https://avatars.githubusercontent.com/u/5175937?v=3","gravatar_id":"","url":"https://api.github.com/users/theofidry","html_url":"https://github.com/theofidry","followers_url":"https://api.github.com/users/theofidry/followers","following_url":"https://api.github.com/users/theofidry/following{/other_user}","gists_url":"https://api.github.com/users/theofidry/gists{/gist_id}","starred_url":"https://api.github.com/users/theofidry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theofidry/subscriptions","organizations_url":"https://api.github.com/users/theofidry/orgs","repos_url":"https://api.github.com/users/theofidry/repos","events_url":"https://api.github.com/users/theofidry/events{/privacy}","received_events_url":"https://api.github.com/users/theofidry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-02T20:57:05Z","updated_at":"2016-05-03T21:05:07Z","closed_at":null,"body":"While reviewing the populator, if I got things right, most of it is simply creating populated objects from the set of property/value got from the `Fixture`. But instead of doing it ourself, maybe we could make use of [Symfony Serializer](https://symfony.com/doc/current/components/serializer.html) instead? Pretty sure it would already handle most of our use case and it would always be possible to add customer denormalizers to handle most custom work.\r\n\r\nIf we do so, I think that would remove a fair bit of code from alice, which is always nice. Besides I think it would be more performant as well.\r\n\r\n@tshelburne WDYT?"},"comment":{"url":"https://api.github.com/repos/nelmio/alice/issues/comments/216664343","html_url":"https://github.com/nelmio/alice/issues/328#issuecomment-216664343","issue_url":"https://api.github.com/repos/nelmio/alice/issues/328","id":216664343,"user":{"login":"theofidry","id":5175937,"avatar_url":"https://avatars.githubusercontent.com/u/5175937?v=3","gravatar_id":"","url":"https://api.github.com/users/theofidry","html_url":"https://github.com/theofidry","followers_url":"https://api.github.com/users/theofidry/followers","following_url":"https://api.github.com/users/theofidry/following{/other_user}","gists_url":"https://api.github.com/users/theofidry/gists{/gist_id}","starred_url":"https://api.github.com/users/theofidry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theofidry/subscriptions","organizations_url":"https://api.github.com/users/theofidry/orgs","repos_url":"https://api.github.com/users/theofidry/repos","events_url":"https://api.github.com/users/theofidry/events{/privacy}","received_events_url":"https://api.github.com/users/theofidry/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T21:05:07Z","updated_at":"2016-05-03T21:05:07Z","body":">does Serializer rely on annotated classes?\r\n\r\nCould you give an example? I'm not sure to have the same definition of annotated classes :P\r\n\r\n>We don't want to introduce anything that suddenly takes us back to \"you must use Symfony\" territory.\r\n\r\nNever, I don't want alice to become a Symfony bundle, that would be awful."}}