Skip to content

Commit

Permalink
fix(Core): Added handling of "Decimal" sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
JBBianchi committed May 2, 2024
1 parent 7e59211 commit ea3448c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public static class CloudEventExtensions
{
string str => ulong.Parse(str),
ulong num => num,
Decimal num => (ulong)num,
JsonElement jsonElem => Neuroglia.Serialization.Json.JsonSerializer.Default.Deserialize<ulong?>(jsonElem),
_ => null
};
Expand Down

0 comments on commit ea3448c

Please sign in to comment.