Skip to content

fix: go-feature-flag sdk - cache key #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 28, 2023

Conversation

liran2000
Copy link
Member

Problem:
Flag evaluation for same flag using different evaluation context properties can lead to cache key collision.
Solution:
Build cache key considering flag and user evaluation context properties.

Related Issues

java-sdk PR 369

How to test

Run unit tests.
Can test via go-feature-flag instance, while observing logs.

Problem:
Flag evaluation for same flag using different evaluation context properties can lead to cache key collision.
Solution:
Build cache key considering flag and user evaluation context properties.

Signed-off-by: liran2000 <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
@thomaspoignant
Copy link
Member

CI is failing on lint because of this issue #287

@thomaspoignant thomaspoignant merged commit 4b28f1c into open-feature:main Jul 28, 2023
@liran2000 liran2000 deleted the go-feature-flag_cache_key branch July 29, 2023 06:28
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.

2 participants