mozilla / experimenter-docs

Documentation hub for Experimenter/Nimbus
https://experimenter.info
7 stars 41 forks source link

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

Open badboy opened 12 months ago

badboy commented 12 months ago

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.