Skip to content

Commit

Permalink
Fix support for defining custom relations (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
laxity7 authored Jan 8, 2025
1 parent 515ca53 commit 024fa0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bootloader/CycleOrmBootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private function factory(
CycleConfig $config
): FactoryInterface {
$relationConfig = new RelationConfig(
RelationConfig::getDefault()->toArray() + $config->getCustomRelations()
$config->getCustomRelations() + RelationConfig::getDefault()->toArray()
);

$factory = new Factory(
Expand Down

0 comments on commit 024fa0f

Please sign in to comment.