Skip to content

Conversation

@UpStreamThomas
Copy link

Before this change, DefaultRestTestClient.mutate() was reusing the underlying builder all calls.

Building a new builder for each call clones the RestTestClientBuilder, protecting from side effects.

@UpStreamThomas UpStreamThomas force-pushed the fix-rest-test-client-mutate-side-effect branch from 7916536 to 3df1c62 Compare October 28, 2025 11:33
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 28, 2025
Before this change, DefaultRestTestClient.mutate() was reusing the underlying builder all calls. Building a new builder for each call clones the RestTestClientBuilder, protecting from side effects. Signed-off-by: Thomas Recloux <trecloux@purse.eu>
@UpStreamThomas UpStreamThomas force-pushed the fix-rest-test-client-mutate-side-effect branch from 3df1c62 to 5b30f1d Compare October 29, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

3 participants