We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have multiple Entity Managers and Connections in my Symfony project and all is OK https://symfony.com/doc/current/doctrine/multiple_entity_managers.html
Now I would like to use multiple Entity Managers in my resolvers or fields but I do not know how to do.
Thanks
The text was updated successfully, but these errors were encountered:
If this can help you, in my services.yml
I create new em em_other: class: Doctrine\ORM\EntityManager factory: ['@doctrine', 'getManager'] arguments: ["other"]
em_other: class: Doctrine\ORM\EntityManager factory: ['@doctrine', 'getManager'] arguments: ["other"]
and new resolver base resolver.other: class: AppBundle\Resolver\AbstractResolver abstract: true calls: [ init, ['@em_other']]
resolver.other: class: AppBundle\Resolver\AbstractResolver abstract: true calls: [ init, ['@em_other']]
and edit parent of resolver resolver.customers: class: AppBundle\Resolver\WstiersResolver parent: 'resolver.other'
resolver.customers: class: AppBundle\Resolver\WstiersResolver parent: 'resolver.other'
Sorry, something went wrong.
No branches or pull requests
I have multiple Entity Managers and Connections in my Symfony project and all is OK
https://symfony.com/doc/current/doctrine/multiple_entity_managers.html
Now I would like to use multiple Entity Managers in my resolvers or fields but I do not know how to do.
Thanks
The text was updated successfully, but these errors were encountered: