Skip to content

Removed bogus .Filter() overload#1013

Merged
RolandPheasant merged 2 commits intomainfrom
housekeeping/remove-bogus-filter
Feb 3, 2026
Merged

Removed bogus .Filter() overload#1013
RolandPheasant merged 2 commits intomainfrom
housekeeping/remove-bogus-filter

Conversation

@JakenVeina
Copy link
Copy Markdown
Collaborator

@JakenVeina JakenVeina commented May 29, 2025

Removed a bogus .Filter() overload that did not allow the consumer to supply filtering logic, resulting in all items always being filtered out.

This appears to have been mistakenly introduced during a refactor, in commit 3657fee.

This is a breaking change that we can just include the next time we happen to have a major version release. I don't think it's worth doing a cycle of marking this deprecated, as the operator is just fully-defective.

…upply filtering logic, resulting in all items always being filtered out.
@JakenVeina JakenVeina self-assigned this May 29, 2025
@JakenVeina JakenVeina added Housekeeping Pull requests for minor code maintenance issues breaking change Items that contain a breaking change to the codebase labels May 29, 2025
@JakenVeina JakenVeina requested review from RolandPheasant and removed request for ChrisPulman May 31, 2025 01:51
@dwcullop
Copy link
Copy Markdown
Member

Is it a breaking change if no one is using it? If it does not work, how could anyone be using it?

Better safe than sorry, I guess.

@RolandPheasant
Copy link
Copy Markdown
Collaborator

Normally with a breaking change we would bump the major version. However in this case, the overload is meaningless so should we keep the major version or bump? Thoughts?

@JakenVeina
Copy link
Copy Markdown
Collaborator Author

I'm a "technically correct is the best kind of correct" kinda person, so I say keep it a major bump. Except, I don't think there's any need to bother bumpibg it ONLY for this. I'd just have us hold onto it until the next time we have something to trigger a major bump that's actually meaningful.

Copy link
Copy Markdown
Member

@dwcullop dwcullop left a comment

Choose a reason for hiding this comment

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

LGTM. Let's include it in the next major version bump release.

@RolandPheasant RolandPheasant merged commit 88bc23e into main Feb 3, 2026
1 check passed
@RolandPheasant RolandPheasant deleted the housekeeping/remove-bogus-filter branch February 3, 2026 06:48
JakenVeina added a commit that referenced this pull request Feb 5, 2026
…upply filtering logic, resulting in all items always being filtered out. (#1013)

Co-authored-by: Darrin W. Cullop <Darrin.Cullop@microsoft.com>
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

breaking change Items that contain a breaking change to the codebase Housekeeping Pull requests for minor code maintenance issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants