diff --git a/src/Bootloader/CycleOrmBootloader.php b/src/Bootloader/CycleOrmBootloader.php index 90f7c04..ab1ee0b 100644 --- a/src/Bootloader/CycleOrmBootloader.php +++ b/src/Bootloader/CycleOrmBootloader.php @@ -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(