-
Notifications
You must be signed in to change notification settings - Fork 21
Labels
area: dependency-injectionImprovements or bugs do DIImprovements or bugs do DIgood first issueGood for newcomersGood for newcomerstype: choreMiscellaneous tasks like build processes or auxiliary toolsMiscellaneous tasks like build processes or auxiliary tools
Milestone
Description
The OpenFeature.Hosting
project doesn't target the same frameworks as OpenFeature.DependencyInjection
, which means users in .NET Framework cannot easily get started with the dependency injection initialization approach.
OpenFeature.Hosting
only depends on Microsoft.Extensions.Hosting.Abstractions which does have support for .NET Framework 4.6.2 and .NET Standard 2.0.
Following: #472 (comment)
We should keep the Hosting package and deprecate the DI one. Let's also make sure the AddHosting is no longer required. The migration plan is:
- Add Deprecation annotation to the
.AddHostedFeatureLifecycle()
and add note to the README - Move the code to the DependencyInjection package and do the hosting registration behind the scenes
- Show deprecation notice on Nuget package
- Remove old code but keeping a readme at the root of the hosting project with instructions on the migration
Metadata
Metadata
Assignees
Labels
area: dependency-injectionImprovements or bugs do DIImprovements or bugs do DIgood first issueGood for newcomersGood for newcomerstype: choreMiscellaneous tasks like build processes or auxiliary toolsMiscellaneous tasks like build processes or auxiliary tools