Skip to content

Commit 74838d2

Browse files
committed
fix: adds Generated suffix to generated files namespace to avoid uninteded using
1 parent c9e35bc commit 74838d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Concordia.Generator/ConcordiaGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ private static string GenerateHandlersRegistrationCode(string methodName, string
194194
sb.AppendLine("using Microsoft.Extensions.DependencyInjection;");
195195
sb.AppendLine("using Concordia;");
196196
sb.AppendLine();
197-
sb.AppendLine($"namespace {generatedNamespace}");
197+
sb.AppendLine($"namespace {generatedNamespace}.Generated");
198198
sb.AppendLine("{");
199199
sb.AppendLine($" public static class ConcordiaGeneratedRegistrations");
200200
sb.AppendLine(" {");

0 commit comments

Comments
 (0)