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

Make it more clear that the Desktop C++ requires isEarlyStartup: true #505

Open
badboy opened this issue Sep 19, 2023 · 0 comments
Open

Comments

@badboy
Copy link
Member

badboy commented Sep 19, 2023

I have recently run into the issue that I used both the JS and the C++ api on desktop to fetch a new experiment variable.
The code disagreed.
It took me a while to understand that the C++ API only queries preferences and those preferences are only set for features with isEarlyStartup: true.

Later then I found https://experimenter.info/early-startup/what-do-it-do/ and https://experimenter.info/early-startup/how-early/#early-on-desktop
However nowhere it's clear that C++ always requires isEarlyStartup, even if it is queried later.

This should be made more clear in the docs.

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

No branches or pull requests

1 participant