Closed vvisionnn closed 1 week ago
Changing the mocker
from var
to let
and marking the Mocker
class as Sendable
will remove this warning. I don't see any need to make the mocker property mutable unless for simplifies the init requirement, which can be adjusted using convenience init. But this will only move the warning to the Mocker
class since many of the Mocker
class members are mutable.
@Kolos65 do you mind if I look into this issue?
@hainayanda I created a PR, would appreciate your review: #58
Thanks @Kolos65 for the quick helping, can you please release a new version for this fix? these warnings are really annoying...
Build Warning
Part of Error Raised Code
Minimum Repro Project
MockedSendable.zip
What Expected
Warning disappeared