diff --git a/src/NATS.Client.JetStream/Models/StreamState.cs b/src/NATS.Client.JetStream/Models/StreamState.cs index 0dea24174..1469e4369 100644 --- a/src/NATS.Client.JetStream/Models/StreamState.cs +++ b/src/NATS.Client.JetStream/Models/StreamState.cs @@ -60,7 +60,7 @@ public record StreamState /// [System.Text.Json.Serialization.JsonPropertyName("subjects")] [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingDefault)] - public System.Collections.Generic.IDictionary Subjects { get; set; } = default!; + public System.Collections.Generic.IDictionary? Subjects { get; set; } = null; /// /// The number of unique subjects held in the stream