We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98d54f7 commit 213b429Copy full SHA for 213b429
src/HotChocolate/Core/test/Types.Analyzers.Tests/OperationTests.cs
@@ -0,0 +1,25 @@
1
+namespace HotChocolate.Types;
2
+
3
+public class OperationTests
4
+{
5
+ [Fact]
6
+ public async Task Generate_Query_Resolvers()
7
+ {
8
+ await TestHelper.GetGeneratedSourceSnapshot(
9
+ """
10
+ using HotChocolate;
11
+ using HotChocolate.Types;
12
13
+ namespace TestNamespace;
14
15
+ [QueryType]
16
+ public static partial class Query
17
18
+ public static int GetTest(string arg)
19
20
+ return arg.Length;
21
+ }
22
23
+ """).MatchMarkdownAsync();
24
25
+}
0 commit comments