Commit 70f847b
This update focuses on enhancing the feature provider integration and
testing framework, incorporating improvements to flexibility, usability,
and testing capabilities.
This update addresses [GitHub Issue
#321](#321) in the
OpenFeature .NET SDK repository.
---
### Key Enhancements
1. **Dependency Injection (DI) Enhancements:**
- Improved lifecycle management for better resource handling.
- Streamlined registration for feature providers, reducing configuration
complexity.
- Introduced the `AddProvider` extension method to simplify and adapt
feature provider integration during service setup.
2. **Simplified Codebase:**
- Removed `FeatureProviderFactory` logic, eliminating unnecessary
complexity and improving usability.
3. **Improved InMemoryProvider:**
- Enhanced the registration process for the `InMemoryProvider`, enabling
smoother and more intuitive usage.
4. **Testing Improvements:**
- Established a dedicated integration test project for comprehensive
validation.
- Improved overall test coverage, ensuring the reliability and
robustness of the framework.
---------
Signed-off-by: Artyom Tonoyan <arttonoyan@gmail.com>
Co-authored-by: chrfwow <christian.lutnik@dynatrace.com>
1 parent bf9de4e commit 70f847b
File tree
18 files changed
+616
-232
lines changed- src/OpenFeature.DependencyInjection
- Providers/Memory
- test
- OpenFeature.DependencyInjection.Tests
- OpenFeature.IntegrationTests
- Services
18 files changed
+616
-232
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
122 | 128 | | |
123 | 129 | | |
124 | 130 | | |
| |||
137 | 143 | | |
138 | 144 | | |
139 | 145 | | |
| 146 | + | |
140 | 147 | | |
141 | 148 | | |
142 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
342 | | - | |
343 | 341 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
| 342 | + | |
| 343 | + | |
356 | 344 | | |
357 | 345 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
362 | 360 | | |
363 | | - | |
364 | | - | |
| 361 | + | |
365 | 362 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
| 363 | + | |
370 | 364 | | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
376 | 378 | | |
377 | 379 | | |
378 | 380 | | |
| |||
Lines changed: 0 additions & 23 deletions
This file was deleted.
0 commit comments