Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

JS Client SDK: Add callout to use evaluationDetails option in variationDetail section #80

Merged
merged 3 commits into from
Sep 17, 2020

Conversation

msiadak
Copy link
Contributor

@msiadak msiadak commented Sep 15, 2020

Today, while implementing some functionality to use variationDetail calls to examine and respond to flag evaluation reasons, I missed the requirement that you must set the evaluationReasons option to true for detail.reason to be populated in the JS Client SDK.

This PR adds a callout to the docs reminding readers to enable that option if they wish to access Evaluation Reasons from the SDK.

@eli-darkly
Copy link
Contributor

@launchdarkly/docs-reviewers - as one of the JS SDK maintainers, this is correct from a technical standpoint.

@scribblingfox
Copy link
Contributor

Hi @msiadak--thanks so much for this lil PR! Merging it in now.

@scribblingfox scribblingfox merged commit 78d7a78 into launchdarkly:master Sep 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants