Skip to content

Conversation

@pkwarren
Copy link
Member

@pkwarren pkwarren commented Jun 5, 2023

Update the patch to cleanly apply against apple/swift v1.22.0.

Update the patch to cleanly apply against apple/swift v1.22.0.
@@ -0,0 +1,58 @@
diff --git a/Sources/protoc-gen-swift/FileGenerator.swift b/Sources/protoc-gen-swift/FileGenerator.swift
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the patch to apply cleanly on this version - there were some changes upstream in apple/swift-protobuf@6b33e90 that caused the previous patch not to apply.

@pgmitche / @stefanvanburen / @rebello95 - I'm not sure if we want to do anything here with the new visibilityAnnotation logic?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch looks essentially identical, so happy to approve on that basis.

If I'm understanding the annotation correctly, then it sounds like symbols in the packages generated with that annotation would not be importable, so wouldn't be compatible with remote packages.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think we need to do anything for that new option, we don't have a use case for implementation-only imports with remote packages. Also updating Connect-Swift: connectrpc/connect-swift#136

@pkwarren pkwarren merged commit 94f669b into main Jun 5, 2023
@pkwarren pkwarren deleted the pkw/swift-1.22.0 branch June 5, 2023 21:50
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.

4 participants