Closed zellyn closed 1 month ago
It's often advantageous or necessary to wrap an LDClient, which doesn't work if the provider code accepts a raw *ld.LDClient.
LDClient
*ld.LDClient
Signed-off-by: Zellyn Hunter zellyn@gmail.com
Use a narrow local LDClient interface instead of *ld.LDClient to refer to the wrapped LaunchDarkly client.
n/a
n/a — existing tests are sufficient
@kinyoklion ptal — I defined a narrow LDClient interface.
Merging with current approvals :)
It's often advantageous or necessary to wrap an
LDClient
, which doesn't work if the provider code accepts a raw*ld.LDClient
.Signed-off-by: Zellyn Hunter zellyn@gmail.com
This PR
Use a narrow local
LDClient
interface instead of*ld.LDClient
to refer to the wrapped LaunchDarkly client.Related Issues
n/a
Notes
n/a
Follow-up Tasks
n/a
How to test
n/a — existing tests are sufficient