Skip to content

ref(core): Migrate ClientOptions call sites to builder API - #1222

Merged
szokeasaurusrex merged 1 commit into
szokeasaurusrex/client-options-refactor/introduce-builderfrom
szokeasaurusrex/client-options-refactor/switch-to-builder
Jul 7, 2026
Merged

szokeasaurusrex merged 1 commit into
szokeasaurusrex/client-options-refactor/introduce-builderfrom
szokeasaurusrex/client-options-refactor/switch-to-builder

Conversation

@szokeasaurusrex

@szokeasaurusrex szokeasaurusrex commented Jul 2, 2026 •

Copy link
Copy Markdown
Member

Use the new ClientOptions builder methods in examples, docs, tests, and internal call sites that previously relied on struct literals with default updates. This keeps existing behavior while making these call sites compatible with a future #[non_exhaustive] ClientOptions.

References #1219
References RUST-258

@szokeasaurusrex
szokeasaurusrex marked this pull request as ready for review July 2, 2026 13:16
@szokeasaurusrex
szokeasaurusrex requested a review from lcian as a code owner July 2, 2026 13:16
@linear-code

linear-code Bot commented Jul 2, 2026

Copy link
Copy Markdown

RUST-258

@szokeasaurusrex
szokeasaurusrex requested review from alexander-alderman-webb and removed request for lcian July 2, 2026 15:16
Use the new `ClientOptions` builder methods in examples, docs, tests, and internal call sites that previously relied on struct literals with default updates. This keeps existing behavior while making these call sites compatible with a future `#[non_exhaustive]` `ClientOptions`.

References [#1219](#1219)
References [RUST-258](https://linear.app/getsentry/issue/RUST-258)
@szokeasaurusrex
szokeasaurusrex force-pushed the szokeasaurusrex/client-options-refactor/switch-to-builder branch from 7b7429b to 217f05f Compare July 7, 2026 09:26
@szokeasaurusrex
szokeasaurusrex requested a review from a team as a code owner July 7, 2026 09:26
@szokeasaurusrex
szokeasaurusrex merged commit 4e3d88f into master Jul 7, 2026
29 checks passed
@szokeasaurusrex
szokeasaurusrex deleted the szokeasaurusrex/client-options-refactor/switch-to-builder branch July 7, 2026 09:31
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.

2 participants