Skip to content
New issue

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

@available attribute on function mocked incorrectly #211

Open
AndrewSB opened this issue Jan 26, 2023 · 3 comments
Open

@available attribute on function mocked incorrectly #211

AndrewSB opened this issue Jan 26, 2023 · 3 comments

Comments

@AndrewSB
Copy link

when a protocol is marked with a @available(*, deprecated... on a function, mockolo specifies the entire type as @available(*, deprecated, ... instead of just the function

Screenshot 2023-01-26 at 11 20 47 AM

is that expected behavior and desirable at Uber? or simply an oversight

@tinder-owenthomas
Copy link

I'm running into this issue as well. Have you found a fix/workaround?

@AndrewSB
Copy link
Author

i have not, ive just been ignoring the warning

@karim-alweheshy
Copy link

This breaks the generation is the function aslo has an @objc on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants