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

[2/x] Fix optional members in Obj-C protocols #279

Merged
merged 3 commits into from
Jan 28, 2022

Conversation

andrewchang-bird
Copy link
Contributor

@andrewchang-bird andrewchang-bird commented Jan 25, 2022

Stack

πŸ“š #279 ← [2/x] Fix optional members in Obj-C protocols
πŸ“š #278 [1/x] Fix cross-project cache invalidation

Overview

Generating Swift mocks for Objective-C annotated protocols with optional members regressed in 0.18 due to invocation forwarding for partial mocks. This PR allows the generator to explicitly handle optional members and improves the overall Objective-C compatibility.

Test Plan

Added an additional test case for Objective-C protocols.

@andrewchang-bird andrewchang-bird force-pushed the dev/andrewchang-bird/fix-multiproj-caching branch from f75db97 to 8d1607b Compare January 28, 2022 21:31
@andrewchang-bird andrewchang-bird force-pushed the dev/andrewchang-bird/fix-objc-protocols branch from 36896af to 8fef295 Compare January 28, 2022 21:43
Base automatically changed from dev/andrewchang-bird/fix-multiproj-caching to master January 28, 2022 23:16
@andrewchang-bird andrewchang-bird force-pushed the dev/andrewchang-bird/fix-objc-protocols branch from 8fef295 to 323bea3 Compare January 28, 2022 23:17
@andrewchang-bird andrewchang-bird merged commit 20ad1c6 into master Jan 28, 2022
@andrewchang-bird andrewchang-bird deleted the dev/andrewchang-bird/fix-objc-protocols branch January 28, 2022 23:18
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

Successfully merging this pull request may close these issues.

2 participants