File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/HotChocolate/Fusion-vnext/src/Fusion.Aspire Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 44using Aspire . Hosting . ApplicationModel ;
55using Aspire . Hosting . Eventing ;
66using Aspire . Hosting . Lifecycle ;
7+ using Microsoft . Extensions . DependencyInjection ;
78using Microsoft . Extensions . Hosting ;
89using Microsoft . Extensions . Logging ;
910
@@ -19,9 +20,9 @@ public Task SubscribeAsync(
1920 DistributedApplicationExecutionContext executionContext ,
2021 CancellationToken cancellationToken )
2122 {
22- eventing . Subscribe < BeforeStartEvent > ( async ( @event , ct ) =>
23+ eventing . Subscribe < AfterResourcesCreatedEvent > ( async ( @event , ct ) =>
2324 {
24- var model = @event . Model ;
25+ var model = @event . Services . GetRequiredService < DistributedApplicationModel > ( ) ;
2526 var compositionFailed = false ;
2627
2728 try
You can’t perform that action at this time.
0 commit comments