-
Hi
How should we test decorators?
For example for testing the DatabaseRetryDecorator, we should mock ICommandHandler to throws an exception. Right?
But based on your unit testing book and fragil…
-
Hi,
I'm having a very strange issue with decorator pattern using MediatR (12.4.0) and Autofac (8.0.0) but I really cannot understand wether the problem is concerning Autofac, MediatR or (more probabl…
-
# Description
**Nouveauté :** les films provenant du ficher `data/external-movie-data.json` contient un nouveau champ : `trailer_id`. Ce champ correspond à l'ID du trailer du film. Ce dernier est héb…
-
Aspect-Oriented Programming allows the decorator pattern. How could it be added to this project?
-
Components that handle the layout of their children such as: ButtonNode, AccordionBox, Panel, Carousel, etc should not use the decorator pattern. Adding children to these components outside of the "co…
-
Decorators are a structural design pattern that aim to promote code re-use. Similar to Mixins, they can be considered another viable alternative to object sub-classing.
-
I've recently found out the name of the pattern we're using over and over is actually **decorator**, not **smart proxy**.
Anyway, I've been thinking a lot about this pattern in BeetleBlocks... this i…
-
It would be useful if we can version Regex pattern decorators to introduce new naming options for future API versions without affecting past versions. For example, something like this:
model Image…
-
Siga o exemplo que está na pasta [Design Pattern] e submeta o seu PR sobre o design pattern desta issue.
-
I couldn't find a pre-existing issue for this, but I figure it might be useful to add support for the decorator factory pattern for the most common transformations (`grad, jit, vmap, pmap`, etc).
C…