-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
Hi! I wanted to raise a feature request for @_spi support in mocked types.
For example:
// Module1
protocol MyService {
@_spi(MyServiceInternal) func secret()
}What would be needed to support the above:
- The ability to add
@_spi(...) importstatements to the generated mocks alongside other imports. - The ability to add
@_spi(...)to generate mock properties and functions that had@_spiannotations in the original type.
As a workaround today, I have to manually edit generated mocks to add both of the above features and commit those hand-edited files. It would be amazing for Cuckoo to support this (if I have time, I may take a stab at adding this feature).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels