Skip to content

Return correct type definition for queries #6361

@JeanMertz

Description

@JeanMertz

see: #6353 (comment)

Given this VRL program:

foo = [{ "foo": to_string!(1) }]
bar = foo[0].foo
upcase(bar)

This should be an infallible program, as we know the variable bar always resolves to a string.

Metadata

Metadata

Assignees

Labels

domain: vrlAnything related to the Vector Remap Languagetype: bugA code related bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions