We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6718f9b commit ea3f0ffCopy full SHA for ea3f0ff
2 files changed
test/Linq2GraphQL.TestServer/Subscription.cs
@@ -12,9 +12,10 @@ public Customer CustomerAdded([EventMessage] Customer customer)
12
}
13
14
[Subscribe]
15
- [Topic("{name}")]
+ [Topic($"{{{nameof(name)}}}")]
16
public Customer CustomerNameAdded(string name, [EventMessage] Customer customer)
17
{
18
+ Console.WriteLine($"Customer {customer.CustomerName} added from topic {name}");
19
return customer;
20
21
test/Linq2GraphQL.Tests/QueryIncludeTests.cs
@@ -68,7 +68,7 @@ public async Task IncludePrimitives_MultipleLevels()
68
69
70
[Fact]
71
- public async Task IncludePrimitives_AnomousResult()
+ public async Task IncludePrimitives_AnonymousResult()
72
73
var query = sampleClient
74
.Query
0 commit comments