Skip to content

feat: added tests supporting sub nested rules in segment#52

Open
Zaimwa9 wants to merge 2 commits intomainfrom
feat/support-sub-nested-rules-in-segment
Open

feat: added tests supporting sub nested rules in segment#52
Zaimwa9 wants to merge 2 commits intomainfrom
feat/support-sub-nested-rules-in-segment

Conversation

@Zaimwa9
Copy link
Copy Markdown
Contributor

@Zaimwa9 Zaimwa9 commented May 4, 2026

Tests covering the addition of a new level of nesting in segment rules. The goal is to be able to support the following use-case:
(environment_name=env_1 and some_trait=foo) or (environment_name=env_2 and some_trait=bar) or (environment_name=env_3 and some_trait=baz)

  • ANY + nested ALL, one group matches → segment matches (the core use case)
  • ANY + nested ALL, no group matches → segment doesn't match
  • NONE + nested ALL, group matches → segment excluded

@Zaimwa9 Zaimwa9 requested a review from a team as a code owner May 4, 2026 08:43
@Zaimwa9 Zaimwa9 requested review from emyller and khvn26 and removed request for a team and emyller May 4, 2026 08:43
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.

1 participant