garydgregory commented on PR #679: URL: https://github.com/apache/httpcomponents-client/pull/679#issuecomment-3104519944
For constructors, I suggest we use the builder pattern: A builder class (which could be a record in recent Java versions maybe) and one private constructor which takes a builder instance as its single parameter. When you need a new toggle/parameter, you add it to the builder class and update the implementation of the one constructor. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org