orleans icon indicating copy to clipboard operation
orleans copied to clipboard

Add fluent support to TestClusterBuilder

Open fuocor opened this issue 7 years ago • 6 comments

The TestClusterBuilder should support fluent method chaining so we can do the following

return new TestClusterBuilder()
    .AddClientBuilderConfigurator<TestClientBuilderConfigurator>
    .AddSiloBuilderConfigurator<TestSiloBuilderConfigurator>()
    .Build();

fuocor avatar May 17 '19 18:05 fuocor

yeah that would be cool. Now you mentioned it, I am not sure why we didn't do it in the first place.

xiazen avatar May 21 '19 18:05 xiazen

I put it in 3.0.0 since it is a breaking change @sergeybykov , let me know if this is the right milestone to put?

xiazen avatar May 21 '19 18:05 xiazen

Why is it breaking? Not a big deal anyway. 3.0.0 is the right milestone.

sergeybykov avatar May 22 '19 23:05 sergeybykov

it removes the non-fluent style methods. Unless we want to have 2 set of methods, which can be confusing IMO. But yeah that is what I meant

xiazen avatar May 23 '19 17:05 xiazen

Shouldn't break anybody I think.

sergeybykov avatar May 23 '19 19:05 sergeybykov

yeah I think you are right. 👍 it is public method change, but not breaking

xiazen avatar May 23 '19 19:05 xiazen