You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.
Currently yii\db\ActiveQuery operates in 2 contexts (this is documented in the PHPDoc):
Normal
Relational
This is a violation of the SRP and I don't think there's a need for it.
For example, ActiveQuery class has a $primaryModel property, and a lot of functions change their behavior based on whether or not it is set.
I think we should split this class up into 2 classes, I realize there's some stuff to figure out, that's what this issue is for :)
The text was updated successfully, but these errors were encountered:
Currently
yii\db\ActiveQuery
operates in 2 contexts (this is documented in the PHPDoc):This is a violation of the SRP and I don't think there's a need for it.
For example,
ActiveQuery
class has a$primaryModel
property, and a lot of functions change their behavior based on whether or not it is set.I think we should split this class up into 2 classes, I realize there's some stuff to figure out, that's what this issue is for :)
The text was updated successfully, but these errors were encountered: