-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
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
Missing options['object_manager'] in AsResource configuration #947
Comments
Hi, thanks for opening this issue. In the "legacy mode", this configuration is useful (So I guess you need this for a Sylius E-commerce resource). If your resource is a Doctrine entity, the configured manager will be retrieve like this If your resource is a not a Doctrine one, you will have to define a processor in your operations to store the data yourself in your persistence system (elastic search, or whatever). So I will not want to implement this on new |
With yaml format it is possible to set custom object manager per resourse, like this
but with attributes it is not possible, so you have to duplicate the config
The text was updated successfully, but these errors were encountered: