-
Notifications
You must be signed in to change notification settings - Fork 57
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
Added Existential Any requirement #379
Conversation
✅ Deploy Preview for apollo-ios-docc canceled.
|
✅ Deploy Preview for eclectic-pie-88a2ba canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, a couple questions:
- Should we standardize on
swift-tools-version
of5.9
across all packages in the repo? Eg:apollo-ios-pagination
still on5.8
. - I think we should get the
ExistentialAny
setting into the codegen test configuration projects too. Knowing those build correctly will be valuable.
I think it makes sense to standardize this across our packages.
+1 |
c033f6b
to
a3b8905
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for adding the test config setting. One last comment on the swift flag in one of the cocoapods test projects.
@@ -704,6 +704,7 @@ | |||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; | |||
MTL_FAST_MATH = YES; | |||
ONLY_ACTIVE_ARCH = YES; | |||
OTHER_SWIFT_FLAGS = "\"-enable-upcoming-feature ExistentialAny\""; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't this one need the enclosing "
removed too? There is one more at L763 that has them too.
3188d6a6 Added Existential Any requirement (#379) git-subtree-dir: apollo-ios git-subtree-split: 3188d6a60184e826ac51a526d35a362aeba2cb9d
git-subtree-dir: apollo-ios git-subtree-mainline: 94be720 git-subtree-split: 3188d6a60184e826ac51a526d35a362aeba2cb9d
d48baeb7 Added Existential Any requirement (#379) git-subtree-dir: apollo-ios-codegen git-subtree-split: d48baeb705e8ede2247e8ebbf2fae5c6fd0430df
git-subtree-dir: apollo-ios-codegen git-subtree-mainline: 64a1859 git-subtree-split: d48baeb705e8ede2247e8ebbf2fae5c6fd0430df
8e073198 Added Existential Any requirement (#379) git-subtree-dir: apollo-ios-pagination git-subtree-split: 8e073198d8bc2a206dc6e886aa9efd9dba9f9f81
…ement git-subtree-dir: apollo-ios-pagination git-subtree-mainline: 40eb7b6 git-subtree-split: 8e073198d8bc2a206dc6e886aa9efd9dba9f9f81
This PR adds the
-enable-upcoming-feature ExistentialAny
flag to all targets in the project and adds theany
keyword at all necessary call sites.The code generation templates are also updated to add the
any
keyword where needed.