Auto generate builders using Source Generator in .NET 5
A while ago I wrote a post on builder pattern in unit tests. I’m a fan of using builder classes but writing these builder classes aren’t fun if you have many classes you want to have builder for. Also, it is quite annoying to maintain these when adding new properties or removing an existing property. … [Read more…]