Skip to content

Conversation

@linkdotnet
Copy link
Collaborator

I moved the EnumerableExtensions to bunit.web and made it internal.

There are two reasons: The main point being that this is a very common extension people are using - this might confuse users as well as conflict with other 3rd party libraries. I don't think bUnit should expose such functions.

The second reason: We are only using it in one place - I was thinking even having it only has a static local function instead of an extension.

@linkdotnet linkdotnet requested a review from egil May 4, 2023 18:28
@linkdotnet linkdotnet force-pushed the v2-enumerable-internal branch 2 times, most recently from 60aeb63 to e08e299 Compare May 4, 2023 18:30
egil
egil previously approved these changes May 4, 2023
Copy link
Member

@egil egil left a comment

Choose a reason for hiding this comment

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

Absolutely agree. Extensions like that should never have been public.

But let's add a note about removing these in the migration/breaking changes markdown.

@linkdotnet
Copy link
Collaborator Author

Absolutely agree. Extensions like that should never have been public.

But let's add a note about removing these in the migration/breaking changes markdown.

Good point - Added

@linkdotnet linkdotnet merged commit 1ed17c8 into v2 May 5, 2023
@linkdotnet linkdotnet deleted the v2-enumerable-internal branch May 5, 2023 08:01
egil pushed a commit that referenced this pull request Jun 10, 2023
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Mar 2, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Mar 3, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Mar 6, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Mar 6, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Mar 7, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Mar 11, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Mar 13, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Mar 22, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
egil pushed a commit that referenced this pull request Apr 12, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
bUnitBot pushed a commit that referenced this pull request Apr 12, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Apr 19, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
bUnitBot pushed a commit that referenced this pull request Apr 19, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Jul 5, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
bUnitBot pushed a commit that referenced this pull request Jul 5, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
bUnitBot pushed a commit that referenced this pull request Jul 5, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
linkdotnet added a commit that referenced this pull request Jul 21, 2024
* refactor: Move EnumerableExtensions to usage and made it internal

* refactor: Decrease visibility oof LoggerHelperExtensions

* add: Documentation for migration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants