mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2026-09-24 15:46:16 +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
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace Aaru.CommonTypes.Metadata;
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||
IncludeFields = true)]
|
||||
[JsonSerializable(typeof(ResumeJson))]
|
||||
// ReSharper disable once PartialTypeWithSinglePart
|
||||
public partial class ResumeJsonContext : JsonSerializerContext {}
|
||||
|
||||
public class ResumeJson
|
||||
|
||||
Reference in New Issue
Block a user