Comments (3)
I am generally against the idea of making the ExternalCommandMiddleware
aware of any detection and limitation logic. I said in the referenced issue that it is not the way it should work. I showed several scenarios (although probably not all of them are in the referenced issue). The point is the same codebase argument is less important IMO than having clean, decent code.
(Honestly, the more I think about this idea, the more I think it is bad....very bad. However I can imagine adding an envelope logic (besides Bernard\Envelope
) and unwrapping it somewhere so that it can't be requeued. However that should go into a separate setup like LazyQueueMiddleware
)
from tactician.
@acairns As suggested in thephpleague/tactician-bernard#11, we could avoid the loop by using a different type of wrapping for the second pass. I know you're using a different queuing system than Bernard, but perhaps we can continue the convo there because I suspect the ultimate solution is always the same and it's easier than chasing across multiple threads 😄
from tactician.
Sure thing!
from tactician.
Related Issues (20)
- [RFC] Chained Inflector HOT 4
- [DOC] Missing parameter HOT 3
- We created queue interop based middleware for tactician. HOT 1
- Testing with no interface HOT 2
- LICENSE file missing for re-distribution HOT 1
- V2: InMemoryLocator replacement? HOT 2
- Delete the 2.0 branch HOT 1
- Implement CommandBus against interface HOT 4
- Broken Examples HOT 8
- PHP8 Support HOT 1
- Release v2 HOT 14
- RFC: Add markdown linting for `gh_pages` HOT 1
- Make Middleware::execute internal HOT 6
- Locking middleware does not work with exceptions HOT 9
- PHP version constraint tigher than required HOT 5
- Plugin to prioritize command HOT 3
- Scheduling commands HOT 2
- Yii adapter for Tactician HOT 2
- 1.0 release ? HOT 2
- Tests missing in releases HOT 3
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 tactician.