Skip to content

Exclude identities when PERCENTAGE_SPLIT trait is undefined #123

@emyller

Description

@emyller

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:

} elseif ($context->identity !== null) {
$objectIds = [$segmentKey, $context->identity->key];

See Flagsmith/flagsmith-engine#283 for context.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions