Closed neil176 closed 8 months ago
Converted back to draft as I just realized I didn't propagate this change all the way up. Will pick back up with it tomorrow.
@tore-statsig Please let me know if I've missed anything in here and I'll be happy to correct it, I don't work much outside of internal codebases these days.
Thanks! This looks good. Im pulling it in to our private version of the sdk repository, added some test cases, and running our integration test runner before releasing a new version. Thanks for the contribution!
Introduces 3 new methods to the top level
StatsigServer
class, each of which calls into theEvaluator
to set its respective backing object to an empty object:clearAllGateOverrides
clearAllConfigOverrides
clearAllLayerOverrides
Please let me know if different naming would help or if there is associated documentation/tests that should be updated.
Resolves statsig-io/node-js-server-sdk#41