Skip to content

Configuration template is outdated #231

Closed
@e2video

Description

Hello,
After composer update it's throwing error:
"detail": "Argument 1 passed to DoctrineMongoODMModule\Options\Configuration::setGenerateProxies() must be of the type int, bool given, called in /prj/vendor/laminas/laminas-stdlib/src/AbstractOptions.php on line 118"

If I set 'generate_proxies' => 1, then I get the same error for hydrators.
when I set 'generate_hydrators' => 1 then I get:

"detail": "Service with name "doctrine.configuration.odm_default" could not be created. Reason: Invalid proxy generation strategy given - only AUTOGENERATE_FILE_NOT_EXISTS and AUTOGENERATE_EVAL are supported."

and I have these commented and uncommenting doesn't help:

        //    'generate_persistent_collections' => Configuration::AUTOGENERATE_ALWAYS,
        //    'persistent_collection_dir' => 'data/DoctrineMongoODMModule/PersistentCollection',
        //    'persistent_collection_namespace' => 'DoctrineMongoODMModule\PersistentCollection',

Any idea what's missing?

Thanks

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions