Closed jjanuszkiewicz closed 1 year ago
@jjanuszkiewicz, this is actually a bug in the docs. It should be "secret-key", not "server-key". I'll update the docs. Also looks like local overrides support hasn't been added to .NET yet. We will address this in the next release.
@daniel-statsig thanks, it works now. And thanks for looking into the local overrides, I'll be watching the releases!
I'm setting up the .NET Server SDK and I want to use the LocalMode option while developing locally. The documentation on https://docs.statsig.com/server/dotnetSDK says:
However, when I set LocalMode=true and provide
server-key
as the key value, I get an exception:It comes from this line in the SDK:
It looks like it doesn't take the special
server-*
keys and local mode into account.I'd also appreciate some guidance on how to use the "local overrides" that are mentioned in the above docs, as I can't find anything related in
StatsigServer
andStatsigServerOptions
.