-
-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed source-generated class names (#7819)
- Loading branch information
1 parent
3d5716c
commit 40c64e8
Showing
5 changed files
with
63 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...GeneratorTests.GenerateSource_With_Problematic_Assembly_Name_MatchesSnapshot.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# GenerateSource_With_Problematic_Assembly_Name_MatchesSnapshot | ||
|
||
```csharp | ||
// <auto-generated/> | ||
#nullable enable | ||
#pragma warning disable | ||
|
||
using System; | ||
using System.Runtime.CompilerServices; | ||
using HotChocolate; | ||
using HotChocolate.Types; | ||
using HotChocolate.Execution.Configuration; | ||
|
||
namespace Microsoft.Extensions.DependencyInjection | ||
{ | ||
public static partial class Custom_ModuleTypesRequestExecutorBuilderExtensions | ||
{ | ||
public static IRequestExecutorBuilder AddCustom_ModuleTypes(this IRequestExecutorBuilder builder) | ||
{ | ||
builder.AddType<global::TestNamespace.ATestBType>(); | ||
return builder; | ||
} | ||
} | ||
} | ||
|
||
``` |