Skip to content

Commit

Permalink
Added subject transforms to stream source config
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmk committed Sep 27, 2023
1 parent 6b490ea commit c6a63c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/NATS.Client.JetStream/Models/StreamSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ public record StreamSource
public string FilterSubject { get; set; } = default!;

/// <summary>
/// Map matching subjects according to this transform destination
/// Subject transforms to apply to matching messages
/// </summary>
[System.Text.Json.Serialization.JsonPropertyName("subject_transform_dest")]
[System.Text.Json.Serialization.JsonPropertyName("subject_transforms")]
[System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingDefault)]
public string SubjectTransformDest { get; set; } = default!;
public System.Collections.Generic.ICollection<SubjectTransform> SubjectTransforms { get; set; } = default!;

[System.Text.Json.Serialization.JsonPropertyName("external")]
[System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingDefault)]
Expand Down

0 comments on commit c6a63c0

Please sign in to comment.