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
We are currently using version 4.0.4 of SwiftyMocky without any issues. However, when we try to update to version 4.1.0, we encounter an issue where one of our protocol functions is generated with a duplicate function. I have identified that this issue is related to the return type of the function.
I have created an example protocol to demonstrate the issue:
When we remove the extension, the protocol generates without any issues. Additionally, if we don't use typealiases as return values and instead use an actual tuple like this:
Issue Description
We are currently using version 4.0.4 of SwiftyMocky without any issues. However, when we try to update to version 4.1.0, we encounter an issue where one of our protocol functions is generated with a duplicate function. I have identified that this issue is related to the return type of the function.
I have created an example protocol to demonstrate the issue:
When we remove the extension, the protocol generates without any issues. Additionally, if we don't use typealiases as return values and instead use an actual tuple like this:
It also generates fine. We are curious to know why this behavior is occurring and if there is a way to make SwiftyMocky work as it was.
Environment
SwiftyMocky version: 4.1.0
Xcode version: 14.1
Thanks,
Cagatay.
The text was updated successfully, but these errors were encountered: