{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/2539","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/2539/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/2539/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/2539/events","html_url":"https://github.com/Sylius/Sylius/issues/2539","id":59869336,"number":2539,"title":"Sylius throw various object managers( multitenancy)","user":{"login":"braisdesousa","id":1141175,"avatar_url":"https://avatars.githubusercontent.com/u/1141175?v=3","gravatar_id":"","url":"https://api.github.com/users/braisdesousa","html_url":"https://github.com/braisdesousa","followers_url":"https://api.github.com/users/braisdesousa/followers","following_url":"https://api.github.com/users/braisdesousa/following{/other_user}","gists_url":"https://api.github.com/users/braisdesousa/gists{/gist_id}","starred_url":"https://api.github.com/users/braisdesousa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braisdesousa/subscriptions","organizations_url":"https://api.github.com/users/braisdesousa/orgs","repos_url":"https://api.github.com/users/braisdesousa/repos","events_url":"https://api.github.com/users/braisdesousa/events{/privacy}","received_events_url":"https://api.github.com/users/braisdesousa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T22:01:30Z","updated_at":"2015-12-11T13:18:30Z","closed_at":"2015-12-11T13:18:30Z","body":"I have two objects managers. Default and Nodefault.\nDefault object manager is handling  a multi-tentant app( different databases) I need to have Sylius in bouth object managers as diferent shops. (From nondefault objectmanager i will shell extensions to clients who will have it's own shops).\n\nI've been looking for this but i've only found a reference to select the object manager in the Resource Bundle, but not in the way I need.\n\nIs there a way to do this, or just point me, to the directon for achieving this. If i'm successfull i will of course share it with the comunity."},"comment":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/163934615","html_url":"https://github.com/Sylius/Sylius/issues/2539#issuecomment-163934615","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/2539","id":163934615,"user":{"login":"pjedrzejewski","id":614970,"avatar_url":"https://avatars.githubusercontent.com/u/614970?v=3","gravatar_id":"","url":"https://api.github.com/users/pjedrzejewski","html_url":"https://github.com/pjedrzejewski","followers_url":"https://api.github.com/users/pjedrzejewski/followers","following_url":"https://api.github.com/users/pjedrzejewski/following{/other_user}","gists_url":"https://api.github.com/users/pjedrzejewski/gists{/gist_id}","starred_url":"https://api.github.com/users/pjedrzejewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjedrzejewski/subscriptions","organizations_url":"https://api.github.com/users/pjedrzejewski/orgs","repos_url":"https://api.github.com/users/pjedrzejewski/repos","events_url":"https://api.github.com/users/pjedrzejewski/events{/privacy}","received_events_url":"https://api.github.com/users/pjedrzejewski/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T13:18:30Z","updated_at":"2015-12-11T13:18:30Z","body":"Using different entity managers is not recommended way to handle multi-tenancy. We will hopefully share some idea or code for doing this. Closing for now because we won't support that in core for now."}}