Skip to content

Commit 21d7e74

Browse files
committed
feat: engine-agnostic-to-empty-identity-in-segment-evaluation
1 parent 561cd71 commit 21d7e74

File tree

1 file changed

+1
-1
lines changed
  • lib/flagsmith/engine/evaluation

1 file changed

+1
-1
lines changed

lib/flagsmith/engine/evaluation/core.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_evaluation_result(evaluation_context)
2929

3030
# Returns { segments: EvaluationResultSegments; segmentOverrides: Record<string, SegmentOverride>; }
3131
def evaluate_segments(evaluation_context)
32-
return [], {} if evaluation_context[:identity].nil? || evaluation_context[:segments].nil?
32+
return [], {} if evaluation_context[:segments].nil?
3333

3434
identity_segments = get_identity_segments_from_context(evaluation_context)
3535

0 commit comments

Comments
 (0)