SwiftMocks icon indicating copy to clipboard operation
SwiftMocks copied to clipboard

Request for support of async, throwable and generic param functions

Open nicofrancken opened this issue 2 years ago • 1 comments

Awesome idea to use macro's to generate the mocks. It removes the need to use library specific scripts and downloads to get things working. Are there any plans to add support for async, throwable and generic param functions?

nicofrancken avatar Sep 29 '23 13:09 nicofrancken

I rewrote this whole package and made a new one. IMO this "standard" approach is upside down and the correct approach should be:

  • The code should not start with protocol but with a working functionality.
  • Protocol and mocks are to be generated by macro.

sisoje avatar Jan 22 '24 17:01 sisoje