Skip to content

Fix missing filter evaluation#158

Merged
linglingye001 merged 1 commit intomainfrom
linglingye/fix-missing-filter-evaluation
Apr 8, 2026
Merged

Fix missing filter evaluation#158
linglingye001 merged 1 commit intomainfrom
linglingye/fix-missing-filter-evaluation

Conversation

@linglingye001
Copy link
Copy Markdown
Member

Bug:
When RequirementType is Any, encountering a missing/unregistered filter caused isEnabled to immediately return false — even though other registered filters in the list might match and enable the feature.

Fix:
Any → continue to skip the missing filter and keep evaluating the remaining ones.
All → return false, nil (unchanged behavior — all filters must match, so a missing one is a failure).

@linglingye001 linglingye001 merged commit cf3b561 into main Apr 8, 2026
6 checks passed
@linglingye001 linglingye001 deleted the linglingye/fix-missing-filter-evaluation branch April 8, 2026 08:22
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.

2 participants