Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cli/azd/cmd/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ func registerCommonDependencies(container *ioc.NestedContainer) {
// Currently caches manifest across command executions
container.MustRegisterSingleton(project.NewDotNetImporter)
container.MustRegisterScoped(project.NewImportManager)
container.MustRegisterScoped(project.NewInfraGenerationManager)
container.MustRegisterScoped(project.NewServiceManager)

// Unified up action: the exegraph-backed `azd up` entry point that
Expand Down Expand Up @@ -1037,6 +1038,7 @@ func registerCommonDependencies(container *ioc.NestedContainer) {
container.MustRegisterSingleton(grpcserver.NewServiceTargetService)
container.MustRegisterSingleton(grpcserver.NewFrameworkService)
container.MustRegisterSingleton(grpcserver.NewProvisioningService)
container.MustRegisterSingleton(grpcserver.NewInfraGenerationService)
container.MustRegisterSingleton(grpcserver.NewValidationService)
// Bind the concrete ValidationService to both the gRPC interface and
// the dispatcher interface so DI resolves both from the same instance.
Expand Down
1 change: 1 addition & 0 deletions cli/azd/cmd/extension_action_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func newExtensionActionTestServer() *grpcserver.Server {
&azdext.UnimplementedValidationServiceServer{},
&azdext.UnimplementedTelemetryServiceServer{},
&v1beta.UnimplementedCommandResultServiceServer{},
&v1beta.UnimplementedInfraGenerationServiceServer{},
)
}

Expand Down
Loading
Loading