Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typedefs with query side-effects #258

Merged
merged 1 commit into from
May 26, 2023

Conversation

fuchsnj
Copy link
Member

@fuchsnj fuchsnj commented May 25, 2023

closes #239

queries in VRL can query both functions and "containers" (arbitrary code blocks), which can contain side-effects. These side-effects were not captured in the type definition.

Copy link
Member

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely not a VRL compiler expert but the changes generally make sense to me. The tests definitely do.

@fuchsnj fuchsnj merged commit d2c4d84 into main May 26, 2023
@fuchsnj fuchsnj deleted the fuchsnj/fix_query_side_effect_typedef branch May 26, 2023 01:35
scMarkus pushed a commit to scMarkus/vrl that referenced this pull request May 27, 2023
itkovian pushed a commit to itkovian/vrl that referenced this pull request Jun 1, 2023
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.

Nested assignment in query can create an invalid type def
2 participants