I think I saw this early on, but then forgot about it. Stumbled upon it today, and it actually looks like a cool project. Have anyone any experience of using it for a real or just a toy project?

  • @Lmaydev
    link
    12 months ago

    AspNetCore works very much the same.

    The mediator pattern is a little different though. It doesn’t talk to the service directly.

    The controller creates a request object and passes it to the mediator. The mediator finds the correct handler and invokes it. The result is then returned to the controller.

    It essentially completely decouples the controller from the service.