@@ -498,7 +498,6 @@ With the base in, we now can focus on putting subscriptions on our GraphQL serve
498
498
}
499
499
500
500
Session session = await context .Sessions .FindAsync (input .SessionId );
501
- int ? initialTrackId = session .TrackId ;
502
501
503
502
if (session is null)
504
503
{
@@ -693,7 +692,7 @@ The `onSessionScheduled` was quite simple since we did not subscribe to a dynami
693
692
public Task <Session > GetSessionAsync (
694
693
SessionByIdDataLoader sessionById ,
695
694
CancellationToken cancellationToken ) =>
696
- sessionById .LoadAsync (AttendeeId , cancellationToken );
695
+ sessionById .LoadAsync (SessionId , cancellationToken );
697
696
}
698
697
}
699
698
```
@@ -719,9 +718,7 @@ The `onSessionScheduled` was quite simple since we did not subscribe to a dynami
719
718
[Subscribe (With = nameof (SubscribeToOnAttendeeCheckedInAsync ))]
720
719
public SessionAttendeeCheckIn OnAttendeeCheckedIn (
721
720
[ID (nameof (Session ))] int sessionId ,
722
- [EventMessage ] int attendeeId ,
723
- SessionByIdDataLoader sessionById ,
724
- CancellationToken cancellationToken ) =>
721
+ [EventMessage ] int attendeeId ) =>
725
722
new SessionAttendeeCheckIn (attendeeId , sessionId );
726
723
727
724
public async ValueTask <ISourceStream <int >> SubscribeToOnAttendeeCheckedInAsync (
0 commit comments