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

InitializationContext should be a value not reference type #219

Merged
merged 3 commits into from
Aug 19, 2021

Conversation

fabianfett
Copy link
Member

Same treatment as #217 for InitializationContext. Since it is just a small struct, I didn't bother to create a CoW backing. Happy to do so, if wanted.

@fabianfett fabianfett requested a review from tomerd August 18, 2021 08:13
@tomerd
Copy link
Contributor

tomerd commented Aug 18, 2021

Since it is just a small struct, I didn't bother to create a CoW backing. Happy to do so, if wanted.

I think its only used once while initializing, so should not impact performance too much.

@fabianfett fabianfett added this to the 1.0.0-alpha.1 milestone Aug 19, 2021
@fabianfett fabianfett added the ⚠️ needs-major-version-bump For PRs that when merged cause a bump of the major version, ie. x.0.0 -> (x+1).0.0 label Aug 19, 2021
@fabianfett
Copy link
Member Author

@swift-server-bot test this please

@fabianfett fabianfett merged commit 782c0f3 into swift-server:main Aug 19, 2021
@fabianfett fabianfett deleted the ff-init-context-as-struct branch August 19, 2021 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️ needs-major-version-bump For PRs that when merged cause a bump of the major version, ie. x.0.0 -> (x+1).0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants