-
-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently its not possible to specify the connection that is used by foundry for the inserts.
This is a problem for me as the project i'm working on uses multiple connections, and the default connection may not have
insert rights for the entity i want to persist.
In the flow of the application the correct connection would be used for inserts, but this is not possible to configure for foundry.
Right now we can already specify the connection/entity manger to be used for resets: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#database-reset
However we can't specify the connection that does the inserts. I would like something like
zenstruck_foundry:
default_entity_manager: my_manager # defaults to doctrine.orm.default_entity_managerMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request