← Back
Milan Jovanovic June 7, 2025 28s

You are overthinking Primary Constructors

Summary

The transcript discusses the use of primary constructors in dependency injection, addressing concerns about parameter mutability in a multi-dependency use case. The speaker argues that the potential for parameter mutation is a non-issue, as these service dependencies are primarily used for executing specific logic within a use case. Ultimately, the key takeaway is that primary constructors provide a clean and straightforward method for injecting dependencies without introducing significant risk of unintended modification.

View original episode ↗