RequiresTheWestyxNexus.OpenFeaturev0.10.0 or later alongsideWestyxNexus.
WestyxNexus.OpenFeature package provides NexusProvider, an OpenFeature-compliant FeatureProvider that wraps an existing NexusClient. All evaluations are served from the client’s local in-memory cache - no extra network calls are made per flag evaluation.
Installation
WestyxNexus and WestyxNexus.OpenFeature must be installed. They are separate NuGet packages from the same GitLab registry.
Quick start
Value mapping
Flags vs configs: Boolean resolution uses
GetFlag (the feature flag cache). All other types use GetConfig (the config cache).
Error handling
The provider never throws; it always returns a
ResolutionDetails<T> with the appropriate error type set.
ASP.NET Core DI example
IFeatureClient into your services:
Live updates
Whennexus.ConnectStream() is active, the client’s cache is updated within milliseconds of a remote flag change via SSE. OpenFeature evaluations pick up the new value on the next call because the provider reads directly from the live cache.