You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested this in the CLI on master, and this is still an issue that needs to be solved:
foo = [{"foo":to_string(1)}]
bar = foo[0].foo
upcase(bar)
error[E110]: invalid argument type
┌─ :1:8
│
1 │ upcase(bar)
│ ^^^
│ │
│ this expression resolves to the exact type "null"
│ but the parameter "value" expects the exact type "string"
│
= see language documentation at: https://vector.dev/docs/reference/vrl/
= learn more at: https://errors.vrl.dev/110
see: #6353 (comment)
Given this VRL program:
This should be an infallible program, as we know the variable
bar
always resolves to a string.The text was updated successfully, but these errors were encountered: