Skip to content

Commit

Permalink
[修复]1. 修复map 协议报错导致的aot 裁剪报错
Browse files Browse the repository at this point in the history
  • Loading branch information
AlianBlank committed Sep 6, 2024
1 parent 0831f1d commit d226767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProtoExport/ProtoBuffServerHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void Run(MessageInfoList messageInfoList, string outputPath, string names
{
defaultValue = $" = new {operationField.Type}();";
}

sb.AppendLine($"\t\t[ProtoMap(DisableMap = true)]");
sb.AppendLine($"\t\tpublic {operationField.Type} {operationField.Name} {{ get; set; }}{defaultValue}");
}

Expand Down

0 comments on commit d226767

Please sign in to comment.