doctrine-orm icon indicating copy to clipboard operation
doctrine-orm copied to clipboard

Improving error message when Reader not found

Open freiondrej opened this issue 4 years ago • 1 comments

I fought with exception Missing Reader service from \Nettrine\ORM\DI\OrmAnnotationsExtension::loadConfiguration() - I discovered that the order in which the extensions are registered matters and that it makes sense to register Nettrine\Annotations\DI\AnnotationsExtension before Nettrine\ORM extensions. Maybe the exception message could advise that?

freiondrej avatar Dec 16 '20 16:12 freiondrej

Sure, good idea.

f3l1x avatar Dec 16 '20 16:12 f3l1x