Comments (5)
ok I fix it in the patch release.
from laravel-smart-facades.
You should call clearResolvedInstance
method on the facade if you want to swap it after you have called it once.
from laravel-smart-facades.
The previous changes were removed and replaced by the clearResolvedInstance
method.
Now the tests have passed and the above problem has been solved.
Do you think there is no problem now?
View this commit
from laravel-smart-facades.
The smart facades are not used in that way in real applications.
We do the driver overrides in the boot phase and start to call the facade methods in controllers and etc.
So that is not really needed in practice. but ok, you can create a PR for that.
from laravel-smart-facades.
So that is not really needed in practice
Why have I noticed such a problem? What am I actually doing?
My whole system works with command. Each command proxies the system according to the parameters sent to it. So far everything went great.
Now suppose a command is to be executed in a loop, the first time it is executed correctly, the second time it is not.
In fact, it was not possible to proxy in boot because it had to be proxyed according to the parameters received in the command.
Thank you for solving this problem, the project was really involved in this issue๐น๐น
from laravel-smart-facades.
Related Issues (3)
- readme pics HOT 1
- Releasing Latest Code Base HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-smart-facades.