3 hours ago · 6 min read1249 words · Tech · hide

Darker is Brighter's counterpart library. You can use Brighter and Darker in combination when you create a Command Query Responsibility Separation (CQRS) application. Under that approach, Brighter handles Commands, and Darker handles Queries. Brighter can also handle Domain Events. Both Brighter and Darker implement the Command Dispatcher pattern and support a middleware pipeline between the sender and receiver. The middleware pipeline has a “Russian Doll” model; each piece of middleware encapsulates the next one in the chain. Darker V5 We have not released Darker for a while. For Brighter, V10 was a significant capability upgrade. Darker V5 brings us comparable functionality to Brighter. This post covers the main points. The README and the ADRs in docs/adr have the details. Streaming queries Handlers can now yield results one at a time as IAsyncEnumerable, so large result sets never have to be held in memory all at once. Streaming has its own pipeline, and logging, tracing, and…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town