You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! The reason why Processor doesn't allow chaining is that APIs that use it usually require a List<Processor>, so that's how you can set multiple processors. Is there a specific case where you would use multiple processors outside a list? Or could you point me to the API you're trying to use? Maybe there's a case we missed, let me know!
Hmm I get it now, it does feel more natural. The issue we have with implementing this is that it's a significant change to the client code generator, and we'd also need to evaluate how it would affect similar classes, so we'll evaluate this as a possible enhancement!
Description
Return type of methods in Processor.Builder prevent method chaining.
Example:
This will not compile since attachment() and all other methods return
ObjectBuilder<Processor>
instead ofBuilder
The text was updated successfully, but these errors were encountered: