initial commit
This commit is contained in:
13
Presentation/GraphQL/Subscriptions/UserSubscriptions.cs
Normal file
13
Presentation/GraphQL/Subscriptions/UserSubscriptions.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Domain.Entities;
|
||||
using GraphQLTEST.GraphQL.Mutations;
|
||||
using HotChocolate.Execution;
|
||||
using HotChocolate.Subscriptions;
|
||||
|
||||
namespace GraphQLTEST.GraphQL.Subscriptions;
|
||||
|
||||
[ExtendObjectType(nameof(SubscriptionType))]
|
||||
public class UserSubscriptions
|
||||
{
|
||||
[Subscribe]
|
||||
public Kill KillAdded([EventMessage] Kill kill) => kill;
|
||||
}
|
||||
Reference in New Issue
Block a user