andersao / andersao/l5-repository
Why does not BaseRepository reset scope after find
Aperta
- Lingua principale
- PHP
- Stelle
- 4.2k
- Fork
- 880
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I'm working on v2.6.36.
I wonder why BaseRepository does not reset scope after find?
My repository is using in the same an instance with scope for find() but throw an error on update, it said `newInstance` method not defined (because the model is now a query Builder instead of Model). Not immutator per query?
Thanks
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.