Apply source scope by default in any loader#191
Conversation
Codecov Report
@@ Coverage Diff @@
## master #191 +/- ##
============================================
- Coverage 94.48% 94.39% -0.10%
+ Complexity 937 936 -1
============================================
Files 81 81
Lines 2413 2409 -4
============================================
- Hits 2280 2274 -6
- Misses 133 135 +2
Continue to review full report at Codecov.
|
|
Please explain what usecase is covered by this change? https://github.com/cycle/orm/blob/master/src/Factory.php#L177 Scopes were attached by default at source level - so all repositories were reading them correctly. Select was created without a scope on purpose. |
I thought this more clear way to define scope on any loader, not just joinable. May be I get it wrong, but what is the purpose to not attach scope to select? |
No description provided.