DEV Community


Discussion on: Introducing Gate Classes (Design Pattern)

stemmlerjs profile image
Khalil Stemmler

This is mighty clean, I appreciate how SOLID this is. Good distinction between the Use Case and Command from CQRS as well, that just clicked now.

As for this way of structuring policies, I like it! I think I'll use it myself.

Thanks for this one, James.
Keep it up

jamesmh profile image
James Hickey Author

Great! I've been using it with lots of success. Def. makes re-using policies etc. super easy to re-use and test 👍