We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This protocol has no combine annotation, but generated mock has special implementation using PassthroughSubject .
combine
PassthroughSubject
/// @mockable protocol Foo { var bar: AnyPublisher<Int, Never> { get } }
class FooMock: Foo { init() { } var bar: AnyPublisher<Int, Never> { return self.barSubject.eraseToAnyPublisher() } private(set) var barSubject = PassthroughSubject<Int, Never>() }
I want to set my own AnyPublisher to mock object. It seems that there are no way to disable generating special mock for Combine.
AnyPublisher
mockolo version: 1.7.0
The text was updated successfully, but these errors were encountered:
I created this PR #186
Sorry, something went wrong.
Merged #186
Thank you!!
No branches or pull requests
This protocol has no
combine
annotation, but generated mock has special implementation usingPassthroughSubject
.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
The text was updated successfully, but these errors were encountered: