-
Notifications
You must be signed in to change notification settings - Fork 50
Document evaluation options for JavaScript client methods #2892
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
base: main
Are you sure you want to change the base?
Document evaluation options for JavaScript client methods #2892
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: [email protected] <[email protected]>
only use relative links to other documentation like: /client/concepts/persistent_assignment#example-usage Also remove the existing exposure logging disabled docs file |
build fails - something is still relying on the manual exposures doc. can you update it to rely on the new method options doc It might be react or another sdk which would require a slightly different doc (e.g. the react hooks have different parameters) |
Actually, I think we need to update this. The persistent assignment is documented here https://docs.statsig.com/server/concepts/persistent_assignment/ And we want to keep it there since it is advanced. But each sdk repository should note the evaluation options that you can use, but likely only needs to give the disable exposure logging example, and keep the persistent assignment examples in that other doc |
Document evaluation options for JavaScript client methods
This PR adds documentation for the evaluation options that can be passed to methods like
checkGate
,getDynamicConfig
,getExperiment
, andgetLayer
.Changes
_evaluationOptions.mdx
to document method optionsdisableExposureLog
optionuserPersistedValues
option for experimentsContext
This addresses undocumented options that exist in the codebase but weren't fully documented in the docs site. These options are important for users who need to control exposure logging or implement persistent experiment assignments.
Link to Devin run: https://app.devin.ai/sessions/e4356647bbb84f41938f98e9528d0299
Requested by: [email protected]