When I tried to define the repositories in neon using
repositoryFinder: Nextras\Orm\Bridges\NetteDI\DIRepositoryFinder (v3.0 Beta)
I got some errors about missing DbalMapperCoordinator and Nette\Caching\Cache which I temporarily solved by adding
orm.mapperCoordinator: Nextras\Orm\Mapper\Dbal\DbalMapperCoordinator
and
orm.cache: @<get our cache instance>
to our services config.
These lines are not needed when using the "standard" PhpDocRepositoryFinder because it defines them as default.
When I tried to define the repositories in neon using
repositoryFinder: Nextras\Orm\Bridges\NetteDI\DIRepositoryFinder
(v3.0 Beta)I got some errors about missing
DbalMapperCoordinator
andNette\Caching\Cache
which I temporarily solved by addingorm.mapperCoordinator: Nextras\Orm\Mapper\Dbal\DbalMapperCoordinator
andorm.cache: @<get our cache instance>
to our services config.These lines are not needed when using the "standard"
PhpDocRepositoryFinder
because it defines them as default.