Skip to content

Add support for overriding param stores#20

Open
rosscooperman wants to merge 1 commit intostatsig-io:mainfrom
rosscooperman:add-parameter-overrides
Open

Add support for overriding param stores#20
rosscooperman wants to merge 1 commit intostatsig-io:mainfrom
rosscooperman:add-parameter-overrides

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 <ross@wequilt.com>
Co-authored-by: Andre Terron <andre@statsig.com>
@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 ross@allstar.gg 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