Skip to content

Commit

Permalink
feat: improve contextEnrichment to handle special cases.
Browse files Browse the repository at this point in the history
relates: open-feature/java-sdk-contrib#1230
Signed-off-by: Simon Schrottner <[email protected]>
  • Loading branch information
aepfli committed Feb 19, 2025
1 parent 30f7c8b commit f27ac96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gherkin/contextEnrichment.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Feature: Context Enrichment

Background:
And a stable flagd provider
Given a stable flagd provider

@in-process @rpc
Scenario: Use enriched context
Expand Down Expand Up @@ -45,5 +45,6 @@ Feature: Context Enrichment
And a change event was fired
And the flag was evaluated with details
Then the reason should be "TARGETING_MATCH"
# ensure that we do not cache a "TARGETING_MATCH", we should only cache evaluation with a "STATIC" reason
When the flag was evaluated with details
Then the reason should be "TARGETING_MATCH"

0 comments on commit f27ac96

Please sign in to comment.