Skip to content

Commit

Permalink
Missed the partial on classes with inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
evest committed Apr 4, 2024
1 parent f7e84d9 commit 9b2daa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion APIs/src/CGTypeSync/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public static void Run(IConfiguration configuration,
inheritedFromType = string.Join(',', parentTypes.Select(type=> type.ToString()));
inheritedFromType = $":{inheritedFromType}";
}
sb.AppendLine($" public class {propertyTypeName}{inheritedFromType}");
sb.AppendLine($" public partial class {propertyTypeName}{inheritedFromType}");
sb.AppendLine(" {");

var properties = contentType.First().Children().Children().Children();
Expand Down

0 comments on commit 9b2daa5

Please sign in to comment.