nextras / orm

Orm with clean object design, smart relationship loading and powerful collections.
https://nextras.org/orm
MIT License
310 stars 57 forks source link

Incomplete default configuration for DIRepositoryFinder #247

Closed jkavalik closed 7 years ago

jkavalik commented 7 years ago

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.

hrach commented 7 years ago
jkavalik commented 7 years ago

Thanks, we use custom cache instance anyway :)