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
@unchecked Sendable
Thank you for creating this library 🤝
Is your feature request related to a problem? Please describe.
Coucnrrency compliance is required in Xcode 15.3 or later. Compliance with Sendable will result in a warning in the generated Spy.
Xcode 15.3
Sendable
Spy
Describe the solution you'd like
You can solve this by adding @unchecked Sendable to the generated Spy.
class XxxxCaseProtocolSpy: XxxxCaseProtocol, @unchecked Sendable {
or
extension XxxxCaseProtocolSpy: @unchecked Sendable {}
Describe alternatives you've considered
It would be nice if implementers could optionally choose whether to unchecked or not.
unchecked
@Spyable(behindPreprocessorFlag: "DEBUG", uncheckedSendable: true)
I was going to make my own PR, but it seemed difficult to modify it with my knowledge, sorry...
I hope you'll address this issue. Thank you 👍
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thank you for creating this library 🤝
Is your feature request related to a problem? Please describe.
Coucnrrency compliance is required in
Xcode 15.3
or later.Compliance with
Sendable
will result in a warning in the generatedSpy
.Describe the solution you'd like
You can solve this by adding
@unchecked Sendable
to the generatedSpy
.or
Describe alternatives you've considered
It would be nice if implementers could optionally choose whether to
unchecked
or not.@Spyable(behindPreprocessorFlag: "DEBUG", uncheckedSendable: true)
I was going to make my own PR, but it seemed difficult to modify it with my knowledge, sorry...
I hope you'll address this issue.
Thank you 👍
The text was updated successfully, but these errors were encountered: