Skip to content

fix(ConditionGroup): detect any two+ simultaneous group keys#44

Merged
HeyItsGilbert merged 1 commit intoHeyItsGilbert:mainfrom
Jah-yee:fix/conditiongroup-duplicate-keys
May 9, 2026
Merged

fix(ConditionGroup): detect any two+ simultaneous group keys#44
HeyItsGilbert merged 1 commit intoHeyItsGilbert:mainfrom
Jah-yee:fix/conditiongroup-duplicate-keys

Conversation

@Jah-yee
Copy link
Copy Markdown
Contributor

@Jah-yee Jah-yee commented May 7, 2026

Fixes #13

Previously the guard only fired when ALL THREE (AllOf, AnyOf, Not)
were present. Now it counts any group keys present and throws if
there are 2 or more.

Fixes HeyItsGilbert#13
Co-authored-by: Jah-yee <jydu_seven@outlook.com>
@HeyItsGilbert HeyItsGilbert force-pushed the fix/conditiongroup-duplicate-keys branch from 7654de6 to d72463e Compare May 9, 2026 02:25
@HeyItsGilbert HeyItsGilbert merged commit 228f899 into HeyItsGilbert:main May 9, 2026
5 checks passed
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.

fix(ConditionGroup): constructor allows two simultaneous group operators — silent logic bypass

2 participants