Skip to content

Conversation

@rapatao
Copy link
Owner

@rapatao rapatao commented Jul 5, 2024

When evaluating an expression using the Kotlin Evaluator, when the input map contains nullable values, the evaluator throws an exception to key not found instead of returning null.

This change fixes it, returning null when a key is present but has null as value, throwing the exception only when the key is not present in the input map.

When evaluating an expression using the Kotlin Evaluator, when the input map contains nullable values, the evaluator throws an exception to key not found instead of returning null.

This change fixes it, returning null when a key is present but has null as value, throwing the exception only when the key is not present in the input map.
@rapatao rapatao merged commit b542633 into main Jul 5, 2024
@rapatao rapatao deleted the fix/nullable-values-on-kotlin-evaluator branch July 5, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants