File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -4,20 +4,25 @@ namespace Quick.Protocol.Commands;
44
55[ JsonSerializable ( typeof ( Connect . Request ) ) ]
66[ JsonSerializable ( typeof ( Connect . Response ) ) ]
7+ [ JsonSourceGenerationOptions ( DefaultIgnoreCondition = JsonIgnoreCondition . WhenWritingNull ) ]
78internal partial class ConnectCommandSerializerContext : JsonSerializerContext { }
89
910[ JsonSerializable ( typeof ( Authenticate . Request ) ) ]
1011[ JsonSerializable ( typeof ( Authenticate . Response ) ) ]
12+ [ JsonSourceGenerationOptions ( DefaultIgnoreCondition = JsonIgnoreCondition . WhenWritingNull ) ]
1113internal partial class AuthenticateCommandSerializerContext : JsonSerializerContext { }
1214
1315[ JsonSerializable ( typeof ( HandShake . Request ) ) ]
1416[ JsonSerializable ( typeof ( HandShake . Response ) ) ]
17+ [ JsonSourceGenerationOptions ( DefaultIgnoreCondition = JsonIgnoreCondition . WhenWritingNull ) ]
1518internal partial class HandShakeCommandSerializerContext : JsonSerializerContext { }
1619
1720[ JsonSerializable ( typeof ( PrivateCommand . Request ) ) ]
1821[ JsonSerializable ( typeof ( PrivateCommand . Response ) ) ]
22+ [ JsonSourceGenerationOptions ( DefaultIgnoreCondition = JsonIgnoreCondition . WhenWritingNull ) ]
1923internal partial class PrivateCommandCommandSerializerContext : JsonSerializerContext { }
2024
2125[ JsonSerializable ( typeof ( GetQpInstructions . Request ) ) ]
2226[ JsonSerializable ( typeof ( GetQpInstructions . Response ) ) ]
27+ [ JsonSourceGenerationOptions ( DefaultIgnoreCondition = JsonIgnoreCondition . WhenWritingNull ) ]
2328internal partial class GetQpInstructionsCommandSerializerContext : JsonSerializerContext { }
Original file line number Diff line number Diff line change 33namespace Quick . Protocol . Notices ;
44
55[ JsonSerializable ( typeof ( PrivateNotice ) ) ]
6+ [ JsonSourceGenerationOptions ( DefaultIgnoreCondition = JsonIgnoreCondition . WhenWritingNull ) ]
67internal partial class NoticesSerializerContext : JsonSerializerContext { }
You can’t perform that action at this time.
0 commit comments