Skip to content

Make public enums into structs or hide them (part 3 - final) #1037

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

Merged
merged 14 commits into from
Jul 27, 2022

Conversation

yim-lee
Copy link
Member

@yim-lee yim-lee commented Jul 27, 2022

Resolves #999

This only public enums left are:

@@ -326,19 +325,19 @@ public struct _TraversalContext<T> {
}

/// INTERNAL API: May change without any prior notice.
public struct _ResolveContext<Message: Codable> {
internal struct _ResolveContext<Message: Codable> {
Copy link
Member

Choose a reason for hiding this comment

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

awesome, thank you -- looking forward to getting rid of this one entirely soon

@@ -45,7 +45,6 @@ public struct ClusterSystemSettings {

public var receptionist: ReceptionistSettings = .default

internal var transports: [_InternalActorTransport] = []
Copy link
Member

Choose a reason for hiding this comment

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

excellent, thank you!

public static func `static`(_ workers: [Worker]) -> Selector {
.init(underlying: .static(workers))
}
}
Copy link
Member

Choose a reason for hiding this comment

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

great 🎉

@ktoso
Copy link
Member

ktoso commented Jul 27, 2022

Fixed a minor formatting, LGTM! Thank you, awesome work here

@ktoso ktoso merged commit 4abb088 into apple:main Jul 27, 2022
@yim-lee yim-lee deleted the iss999-3 branch July 27, 2022 15:56
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.

[api evolution] Make all public enums into structs with static properties
2 participants