Specification as a Library (Vol.4)

Introduction In the previous blog post, I discussed the difference between workflows and attempts. In summary, a workflow accepts a command as input, and as a result, emits a list of domain events. Thus, an attempt also accepts a command as input, but instead, returns a status. Furthermore, the status of an attempt requires the …

F#: ViewModel (Dependency Injection)

  Intro In this post, I attempt to demonstrate how cool I am at writing proven code for a user's registration form. Please note that I use the term proven and testable interchangeably.   The viewmodel is the root of the testable codebase for business logic. As a result, I injected the function (aka: implementation) …