chore(di): register ContentBlueprintManager as scoped service
Phase 7: Internal blueprint manager with scoped lifetime. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -305,6 +305,8 @@ namespace Umbraco.Cms.Core.DependencyInjection
|
||||
Services.AddUnique<IContentPublishOperationService, ContentPublishOperationService>();
|
||||
// Phase 6: Internal permission manager (AddScoped, not AddUnique, because it's internal without interface)
|
||||
Services.AddScoped<ContentPermissionManager>();
|
||||
// Phase 7: Internal blueprint manager (AddScoped, not AddUnique, because it's internal without interface)
|
||||
Services.AddScoped<ContentBlueprintManager>();
|
||||
Services.AddUnique<IContentService>(sp =>
|
||||
new ContentService(
|
||||
sp.GetRequiredService<ICoreScopeProvider>(),
|
||||
|
||||
Reference in New Issue
Block a user