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

refactor(core!): Make service builder takes ownership #4922

Merged
merged 6 commits into from
Jul 24, 2024
Merged

Conversation

Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Jul 24, 2024

Which issue does this PR close?

Part of #4921

Rationale for this change

Builder has been changed into accept mut self instead. This PR is a follow-up that alter all builder's API to mut self too.

What changes are included in this PR?

Change all api for builder so users can now chain them together: S3::default().root().build()?;

Are there any user-facing changes?

API breaking changes.

Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
@Xuanwo Xuanwo requested a review from PsiACE as a code owner July 24, 2024 14:28
@Xuanwo Xuanwo merged commit c7cecc4 into main Jul 24, 2024
255 checks passed
@Xuanwo Xuanwo deleted the alter-builder-api branch July 24, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants