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

Add support for overriding param stores #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rosscooperman
Copy link

Even if setting overrides for the underlying refs worked (which it doesn't seem to) the whole point of parameter stores is that the client isn't supposed to have to know where the value actually comes from.

This adds support for overriding a parameter store. It does this by creating a param store for the override with exclusively static refs.

@lslv1243
Copy link

Param stores seemed like the perfect thing to reference from the app until I noticed they couldn't be overridden locally. It would be nice if this got integrated into the SDK.

@rosscooperman
Copy link
Author

Any thoughts @andre-statsig? Would really love to get this merged at some point so I can stop referencing my branch.

@andre-statsig
Copy link
Contributor

Hey @rosscooperman, sorry for not seeing this earlier. I'll take a look

@rosscooperman
Copy link
Author

Hey @rosscooperman, sorry for not seeing this earlier. I'll take a look

No worries, thanks for looking!

statsig-kong bot pushed a commit that referenced this pull request Mar 13, 2025
Merges in #20

- adds `Statsig.overrideParamStore`

---------

Co-authored-by: Ross Cooperman <[email protected]>
Co-authored-by: Andre Terron <[email protected]>
@andre-statsig
Copy link
Contributor

Hey @rosscooperman, this has been released on 1.52.0! Thank you so much for such a detailed pull request, really appreciate it!

Because of our CI setup, we merged a mirror PR on our private repo. Seems like your commit wasn't linked to your GitHub username (the same thing happened on this PR). Is your GitHub profile missing your work email by any chance? I'll try updating our CI to make sure it supports PRs merged on our public repos.

Thanks again for contributing to Statsig's iOS SDK!

@rosscooperman
Copy link
Author

@andre-statsig thanks! work email is [email protected] if you're able to update the contribution info. it should be on my gh profile but i'll check

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.

3 participants