Skip to content
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

fix: add stickiness to strategy variants #34

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

sighphyre
Copy link
Member

This adds the stickiness property to the strategy variant struct. This shouldn't be necessary because the SDKs shouldn't need this property. But the JS SDK does rely on it, due to a bug and rolling that back is tough.

This allows us to support those versions of the JS SDK without creating incompatible versions of Unleash/Edge/SDK that don't work together

@sighphyre
Copy link
Member Author

No test added for this. It probably isn't necessary but I'm adding one in Edge anyway so we can make sure this doesn't regress while we're dealing with this

@sighphyre sighphyre requested a review from chriswk January 23, 2024 12:49
Copy link
Member

@chriswk chriswk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sighphyre sighphyre merged commit 9afeb15 into main Jan 23, 2024
1 check passed
@sighphyre sighphyre deleted the fix/add-stickiness-to-strategy-variants branch January 23, 2024 13:09
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