flagsmith-php-client icon indicating copy to clipboard operation
flagsmith-php-client copied to clipboard

Exclude identities when PERCENTAGE_SPLIT trait is undefined

Open emyller opened this issue 2 months ago • 0 comments

Users without specified trait appear in segment, evaluated using identity key instead.

Acceptance criteria

  • [ ] Return false when trait is undefined instead of falling back to identity key

Current implementation: https://github.com/Flagsmith/flagsmith-php-client/blob/9e459f5ebbf4cb7db8dd9cadabcf838d65e4734d/src/Engine/Engine.php#L292-L293

See https://github.com/Flagsmith/flagsmith-engine/issues/283 for context.

emyller avatar Nov 19 '25 22:11 emyller