Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Java exitBlockOnFail syntax is different from all the other methods (BREAKING) #4490

Closed
slandelle opened this issue Dec 7, 2023 · 0 comments

Comments

@slandelle
Copy link
Member

Currently, we have:

exitBlockOnFail(
  http("name").get("/")
);

while all the other methods look like:

uniformRandomSwitch().on(
  http("name").get("/")
);
roundRobinSwitch().on(
  http("name").get("/")
);
forever().on(
  http("name").get("/")
);
repeat(5).on(
  http("name").get("/")
);

This is not consistent, we should change into:

exitBlockOnFail().on(
  http("name").get("/")
);
@slandelle slandelle added this to the 3.10.0 milestone Dec 7, 2023
@slandelle slandelle self-assigned this Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant