This PR renames MockService to MockableService in order to fix a name collision.
Details
This happens when we try to mock a protocol named Service. This is common inside a local Swift package, to expose a particular service (API, storage, etc.).
The generated macro will have a MockService class and will collide with the MockService protocol (public) inside the Mockable package.
We got the following build errors:
'MockService' inherits from itself
Type 'MyPackage.MockService' does not conform to protocol 'Mockable.MockService'
Summary
This PR renames
MockService
toMockableService
in order to fix a name collision.Details
This happens when we try to mock a protocol named
Service
. This is common inside a local Swift package, to expose a particular service (API, storage, etc.). The generated macro will have aMockService
class and will collide with theMockService
protocol (public) inside the Mockable package.We got the following build errors:
Renaming
MockService
toMockableService
fix it.