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

ref(flags): rename unleash integration param #15343

Merged
merged 2 commits into from
Feb 10, 2025
Merged

Conversation

aliu39
Copy link
Member

@aliu39 aliu39 commented Feb 7, 2025

Renaming this parameter to keep the name consistent with statsigIntegration. We can reuse this generic name for future FF integrations.

This integration is not in use for v9 so we're directly changing the options type. Plan for v8: we'll define the same options type but with featureFlagsClientClass (new) and unleashClientClass (old) both optional, annotating the latter with @deprecated.

@aliu39 aliu39 requested a review from billyvg February 7, 2025 20:37
@aliu39 aliu39 merged commit 2afe732 into develop Feb 10, 2025
112 checks passed
@aliu39 aliu39 deleted the aliu/rename-unleash-arg branch February 10, 2025 18:19
aliu39 added a commit that referenced this pull request Feb 20, 2025
Renaming this parameter to keep the name consistent with
#15319. We can reuse
this generic name for future FF integrations.

The old name is still supported but now marked as deprecated. As a
result both params have to be optional, the constructor throws if
neither is given. The old name will not be supported in
#15343.
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