### Observed behavior Calling `OpenFeatureBuilder.AddContext()` after you have added any providers causes the `EvaluationContext `to not be injected into the Api instance. ### Expected Behavior Calling `OpenFeatureBuilder.AddContext()` any place on the builder should add the `EvaluationContext` to the Api. ### Steps to reproduce Example code: ```csharp builder.Services.AddOpenFeature(featureBuilder => { featureBuilder .AddHostedFeatureLifecycle() .AddInMemoryProvider("InMemory", _ => new Dictionary<string, Flag>() { { "welcome-message", new Flag<bool>( new Dictionary<string, bool> { { "show", true }, { "hide", false } }, "show") } }) .AddContext(ctx => ctx.Set("region", "euw")); }); ``` Recording of the bug in action using a LoggingHook to read out the injected `EvaluationContext`. https://github.com/user-attachments/assets/779c352d-5257-46be-a7bc-423ba9974d07
Observed behavior
Calling
OpenFeatureBuilder.AddContext()after you have added any providers causes theEvaluationContextto not be injected into the Api instance.Expected Behavior
Calling
OpenFeatureBuilder.AddContext()any place on the builder should add theEvaluationContextto the Api.Steps to reproduce
Example code:
Recording of the bug in action using a LoggingHook to read out the injected
EvaluationContext.no-evaluation-context-added.mp4