Closed AlikDex closed 4 years ago
Q | A |
---|---|
Is bugfix? | no |
New feature? | no |
Breaks BC? | no |
Tests pass? | yes |
Fixed issues | #195 |
@AlikDex, @rob006 is there a way to fix it in a backwards compatible manner?
IMO changes in ActiveRecord
are unnecessary. This how it works for other AR implementations - if you want different component/approach to be used for connection, you should override getDb()
in your model. Changing this will only create inconsistency.
Yes. Agree.
@samdark It is still worth to simplify Session::init()
by using Instance::ensure()
for initialization of redis
property. It will be more consistent, simplify implementation and make configuration more flexible.
@rob006 since you're on it, how about a pull request?