feat: support remote config and multivariate flags - #15
Closed
brentatkarbon wants to merge 3 commits into
Closed
brentatkarbon wants to merge 3 commits into
brentatkarbon wants to merge 3 commits into
Conversation
Add independent config evaluation and check-config telemetry, preserve config in bootstrap and fallback snapshots, and support local config overrides. Validation: warning-free Release build, formatting checks, and 198 tests passing on each of .NET 8 and .NET 10.
Add generic config reads with configurable System.Text.Json deserialization on root and bound clients, retaining raw telemetry and variant keys. Cover missing payloads, custom converters, and failure behavior; wait for cache updates in the existing push-sync test. Validation: 207 tests passed on each of .NET 8 and .NET 10, warning-free Release build, formatting and diff checks.
brentatkarbon
marked this pull request as draft
September 21, 2026 05:57
Author
|
Reflag will pick this up with remote config changes they're making. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds remote config for multivariate flags and experiments, using the Node SDK as a reference.
GetFlagConfigreturns a variant key and JSON payload;GetFlagConfig<T>deserializes the payload. Both work on bound clients.check-configevents.Existing boolean flag calls still work. Includes tests and usage docs, plus a fix for a race in an existing push-sync test.
Validation: 207 tests pass on each of .NET 8 and .NET 10. Release build and formatting checks pass with no warnings.