Skip to content

Commit

Permalink
🧹 Support int32 in llx dict primitives.
Browse files Browse the repository at this point in the history
  • Loading branch information
preslavgerchev committed Oct 3, 2023
1 parent 2bdc01c commit ad6d218
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llx/data_conversions.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ func dict2primitive(value interface{}) (*Primitive, error) {
switch x := value.(type) {
case bool:
return BoolPrimitive(x), nil
case int32:
return IntPrimitive(int64(x)), nil
case int64:
return IntPrimitive(x), nil
case float64:
Expand Down

0 comments on commit ad6d218

Please sign in to comment.