Skip to content

Deprecate withers in 2.x #3750

Open
Open
@ppkarwasz

Description

@ppkarwasz

In the main branch, all withers (builder method following the with<Foo> pattern) have been replaced with setter methods for consistency and clarity.

To ensure a smooth upgrade path and better API consistency between 2.x and 3.x, we should introduce equivalent setter methods in the 2.x branch and mark the existing wither methods as deprecated. This will give users time to adapt before migrating to 3.x, where wither methods will no longer be available.

Proposed Action:

  • Add set<foo> methods alongside existing with<foo> methods in 2.x.
  • Mark all remaining with<foo> methods as deprecated in 2.x.

Metadata

Metadata

Assignees

Labels

good first issueIssues that are good for contributors looking to get started

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions