Skip to content

Commit

Permalink
Load mapping earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Aug 14, 2024
1 parent 623dfc3 commit 508b025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridge/Symfony/Resources/config/mapper_orm.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
$containerConfigurator->services()

->set('sonata.doctrine.mapper', DoctrineORMMapper::class)
->tag('doctrine.event_listener', ['event' => 'loadClassMetadata']);
->tag('doctrine.event_listener', ['event' => 'loadClassMetadata', 'priority' => 10]);
};

0 comments on commit 508b025

Please sign in to comment.