[Feature Request] Add check warning against mocking record types
ralstonba opened this issue · comments
Brendan Ralston commented
Records are typically used as simple wrappers of data without any methods or complex behavior requiring external dependencies or expensive IO operations. As such, they should (almost) never be mocked, and instead a real instance should be used instead.
Brendan Ralston commented
I believe this PR addresses the FR: #4384