Skip to content

Changed the initialization method of the options field in BaseRequestConfiguration#1240

Merged
baywet merged 4 commits intomicrosoft:mainfrom
m-moris:bugfix/change_mutable_list
Apr 25, 2024
Merged

Changed the initialization method of the options field in BaseRequestConfiguration#1240
baywet merged 4 commits intomicrosoft:mainfrom
m-moris:bugfix/change_mutable_list

Conversation

@m-moris
Copy link
Copy Markdown
Contributor

@m-moris m-moris commented Apr 25, 2024

This PR changes the initialization method of the options field in BaseRequestConfiguration from an immutable list to a mutable one.

related issue

Copy link
Copy Markdown
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add a unit test to prevent future regressions?

@m-moris
Copy link
Copy Markdown
Contributor Author

m-moris commented Apr 25, 2024

I have added a simple unit test, is this correct?

Signed-off-by: Vincent Biret <[email protected]>
baywet
baywet previously approved these changes Apr 25, 2024
Copy link
Copy Markdown
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes that's what I expected, thank you for making the changes!

@baywet baywet enabled auto-merge April 25, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

BaseRequestConfiguration#options field is set to an immutable list RetryHandler with v6.5.1 coming from v5.80.0

2 participants