uber / mockolo

Efficient Mock Generator for Swift
Apache License 2.0
805 stars 85 forks source link

PassthroughSubject created without combine annotation #184

Closed sidepelican closed 2 years ago

sidepelican commented 2 years ago

This protocol has no combine annotation, but generated mock has special implementation using PassthroughSubject .

I want to set my own AnyPublisher to mock object. It seems that there are no way to disable generating special mock for Combine.

mockolo version: 1.7.0

maxwellE commented 2 years ago

I created this PR https://github.com/uber/mockolo/pull/186

maxwellE commented 2 years ago

Merged #186

sidepelican commented 2 years ago

Thank you!!