Skip to content

Conversation

@simonjbeaumont
Copy link
Collaborator

@simonjbeaumont simonjbeaumont commented Oct 3, 2023

Motivation

The client and server examples currently live in a single Swift package. The majority of adopters will probably want to crib from an example of a client or a server, and having them together runs the risk of them cargo-culting dependencies they don't need. The current setup also prevents us from updating the dependencies in the client example if the server transport releases are lagging.

Modifications

  • Split the client and server examples into separate Swift packages.
  • Update the client example to the latest runtime and main generator.
  • Drop dependencies in server example to 0.2.0 family for now.

Result

Client example package is updated to latest dependencies and can build.

Test Plan

Tested that both packages can build locally.

@simonjbeaumont simonjbeaumont marked this pull request as ready for review October 3, 2023 08:13
@simonjbeaumont simonjbeaumont added the semver/none No version bump required. label Oct 3, 2023
Copy link
Contributor

@czechboy0 czechboy0 left a comment

Choose a reason for hiding this comment

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

That's a good idea, let's do it.

@simonjbeaumont simonjbeaumont merged commit da2d596 into apple:main Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants