You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Requested feature Check type of arguments and return type for callback function in Do/DoAndReturn while add callback, similar to check types of return values in Return function.
Why the feature is needed Now Do/DoAndReturn functions check count arguments only, but real type checked at call moment. It will be better cause error on mock initialization instead of mock call - because I see line where initialization failed.
(Optional) Proposed solution Check callback arguments in Do and DoAndReturn about it same as original func arg type of assignable from them.
The text was updated successfully, but these errors were encountered:
Requested feature Check type of arguments and return type for callback function in Do/DoAndReturn while add callback, similar to check types of return values in Return function.
Why the feature is needed Now Do/DoAndReturn functions check count arguments only, but real type checked at call moment. It will be better cause error on mock initialization instead of mock call - because I see line where initialization failed.
(Optional) Proposed solution Check callback arguments in Do and DoAndReturn about it same as original func arg type of assignable from them.
The text was updated successfully, but these errors were encountered: