Enhanced easy to catch test coverage

This commit is contained in:
2025-07-29 08:38:40 +02:00
parent a0d0607ec8
commit 50b8efbb46
5 changed files with 268 additions and 11 deletions

View File

@@ -22,22 +22,22 @@
/// <summary>
/// The DNS records to delete.
/// </summary>
public IReadOnlyCollection<string>? Deletes { get; set; }
public IReadOnlyCollection<string> Deletes { get; set; } = [];
/// <summary>
/// The DNS records to update.
/// </summary>
public IReadOnlyCollection<Patch>? Updates { get; set; }
public IReadOnlyCollection<Patch> Updates { get; set; } = [];
/// <summary>
/// The DNS records to create.
/// </summary>
public IReadOnlyCollection<Post>? Creates { get; set; }
public IReadOnlyCollection<Post> Creates { get; set; } = [];
/// <summary>
/// The DNS records to overwrite.
/// </summary>
public IReadOnlyCollection<Put>? Overwrites { get; set; }
public IReadOnlyCollection<Put> Overwrites { get; set; } = [];
/// <summary>
/// Represents a request to update a DNS record.