mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
Ensure that Resharper does not remove the partial modifier from JSON contexts.
This commit is contained in:
@@ -48,6 +48,7 @@ namespace Aaru.CommonTypes.AaruMetadata;
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
[JsonSerializable(typeof(MetadataJson))]
|
||||
// ReSharper disable once PartialTypeWithSinglePart
|
||||
public partial class MetadataJsonContext : JsonSerializerContext {}
|
||||
|
||||
public class MetadataJson
|
||||
|
||||
Reference in New Issue
Block a user