1
0
mirror of https://github.com/XFox111/bonch-calendar.git synced 2026-06-30 10:52:41 +03:00

feat!: native AOT for api app #26

This commit is contained in:
2026-05-23 07:04:29 +00:00
parent a3458b825e
commit cebd38698f
9 changed files with 119 additions and 31 deletions
+15
View File
@@ -0,0 +1,15 @@
using System.Text.Json.Serialization;
using BonchCalendar.Health;
namespace BonchCalendar;
[JsonSerializable(typeof(string))]
[JsonSerializable(typeof(string[]))]
[JsonSerializable(typeof(int))]
[JsonSerializable(typeof(bool))]
[JsonSerializable(typeof(StatsResponse))]
[JsonSerializable(typeof(Dictionary<int, string>))]
[JsonSerializable(typeof(HealthResponse))]
internal partial class AppJsonSerializerContext : JsonSerializerContext
{
}