{"action":"opened","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/5519","repository_url":"https://api.github.com/repos/Sylius/Sylius","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/5519/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/5519/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/5519/events","html_url":"https://github.com/Sylius/Sylius/issues/5519","id":165792182,"number":5519,"title":"Overriding Core\\Customer does not work","user":{"login":"tchapi","id":1944007,"avatar_url":"https://avatars.githubusercontent.com/u/1944007?v=3","gravatar_id":"","url":"https://api.github.com/users/tchapi","html_url":"https://github.com/tchapi","followers_url":"https://api.github.com/users/tchapi/followers","following_url":"https://api.github.com/users/tchapi/following{/other_user}","gists_url":"https://api.github.com/users/tchapi/gists{/gist_id}","starred_url":"https://api.github.com/users/tchapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchapi/subscriptions","organizations_url":"https://api.github.com/users/tchapi/orgs","repos_url":"https://api.github.com/users/tchapi/repos","events_url":"https://api.github.com/users/tchapi/events{/privacy}","received_events_url":"https://api.github.com/users/tchapi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-15T13:56:21Z","updated_at":"2016-07-15T13:56:21Z","closed_at":null,"body":"Hi,\r\n\r\nTrying to override Customer and following every step in http://docs.sylius.org/en/latest/customization/model.html leads to  :\r\n\r\n    [Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException]\r\n    Unrecognized option \"customer\" under \"sylius_core.resources\"\r\n\r\nwhen trying to override the **Core** `Customer` class.\r\nIt seems to be the same problem for every model that is extended in **Core**.\r\n\r\nIt seems that the `sylius_core` namespace does not accept this kind of thing :\r\n\r\n```yml\r\nsylius_core:\r\n    resources:\r\n        customer:\r\n            classes:\r\n                model: My\\OwnBundle\\Entity\\Customer\r\n```\r\nHow do I do to override a model extended in Core ?\r\n\r\nThanks"}}
{"actor":{"display_login":"tchapi"}}