forEach keys not dealing well with types other then String
Closed this issue · 1 comments
Tiagoperes commented
In the forEach component:
val keyValue: String? = if (key == null) null else valueOf(item, key)
valueOf(item, key)
will expect a String which will not always be the case. We should do the following:
val keyValue: String? = if (key == null) null else `${valueOf<Any?>(item, key)}`
A test should be created to validate this.
Tiagoperes commented
Fixed a long time ago.