Skip to content

Commit

Permalink
Merge pull request #39 from FromDoppler/DD-1248-fix-enum-deserialization
Browse files Browse the repository at this point in the history
[DD-1248] fix enum deserialization
  • Loading branch information
RodrigoPereyraDiaz authored Sep 21, 2023
2 parents f3ef4ef + 9961888 commit 99f9300
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GreenArrow.Engine/Model/Events/DeliveryAttempt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public class DeliveryAttempt : Event
/// <summary>
/// Channel that generate the event
/// </summary>
[JsonConverter(typeof(StringEnumConverter), typeof(SnakeCaseNamingStrategy))]
public enum ChannelEnum
{
/// <summary>
Expand All @@ -28,6 +29,7 @@ public enum ChannelEnum
/// <summary>
/// Delivery status type
/// </summary>
[JsonConverter(typeof(StringEnumConverter), typeof(SnakeCaseNamingStrategy))]
public enum StatusEnum
{
/// <summary>
Expand Down

0 comments on commit 99f9300

Please sign in to comment.