Skip to content

Commit

Permalink
[kotlin] Add support for enums backed by Int64 values
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmojo committed Jan 17, 2025
1 parent 8946e03 commit 5dff31e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ TypeDescriptorRegistry typeDescriptorRegistry
var valueType = value.GetType();

if (valueType == typeof(int) ||
valueType == typeof(long) ||
valueType == typeof(sbyte) ||
valueType == typeof(byte) ||
valueType == typeof(ushort) ||
Expand Down

0 comments on commit 5dff31e

Please sign in to comment.