-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Deprecate withers in 2.x #3750
Copy link
Copy link
Closed
Labels
good first issueIssues that are good for contributors looking to get startedIssues that are good for contributors looking to get started
Milestone
Metadata
Metadata
Assignees
Labels
good first issueIssues that are good for contributors looking to get startedIssues that are good for contributors looking to get started
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
In the
mainbranch, all withers (builder method following thewith<Foo>pattern) have been replaced with setter methods for consistency and clarity.To ensure a smooth upgrade path and better API consistency between
2.xand3.x, we should introduce equivalent setter methods in the2.xbranch and mark the existing wither methods as deprecated. This will give users time to adapt before migrating to3.x, where wither methods will no longer be available.Proposed Action:
set<foo>methods alongside existingwith<foo>methods in2.x.with<foo>methods as deprecated in2.x.