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

[dotnet] Change a list of downloadable files to IReadOnlyList #13265

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

nvborisenko
Copy link
Member

@nvborisenko nvborisenko commented Dec 7, 2023

Description

Retrieved list should be immutable.

Motivation and Context

Fixes #13264

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@titusfortner
Copy link
Member

Is this change worth breaking backwards compatibility without warning?

@nvborisenko
Copy link
Member Author

There are 2 types of breaking changes: compilation compatibility and binary compatibility. This change is related to binary compatibility (even not sure), and is not related to compilation compatibility. I suppose only 0.01% of users might be impacted.

@titusfortner titusfortner merged commit 8e75d5d into SeleniumHQ:trunk Dec 7, 2023
11 checks passed
@nvborisenko
Copy link
Member Author

nvborisenko commented Dec 7, 2023

I lied, it is compilation level breaking change. It breaks users who wrote:

List<string> myVar = driver.GetDownloadableFiles();

@titusfortner
Copy link
Member

I see how it is. Still want to do it, or put it back?

@nvborisenko
Copy link
Member Author

nvborisenko commented Dec 7, 2023 via email

@nvborisenko nvborisenko deleted the dotnet-downloadable-list branch December 8, 2023 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[dotnet] Change signature of GetDownloadableFiles to IEnumerable<string>?
2 participants