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

Program doesn't give the type definition of the program result #240

Closed
fuchsnj opened this issue May 13, 2023 · 0 comments · Fixed by #262
Closed

Program doesn't give the type definition of the program result #240

fuchsnj opened this issue May 13, 2023 · 0 comments · Fixed by #262
Labels
type: enhancement A value-adding code change that enhances its existing functionality vrl: typedef Changes to the type system

Comments

@fuchsnj
Copy link
Member

fuchsnj commented May 13, 2023

Currently the Program type (returned from compiling a VRL program) gives you access to the type definitions of the target and locals through the Program::final_type_state function. There is no type definition for the result itself (the Value returned from resolve).

@fuchsnj fuchsnj added type: enhancement A value-adding code change that enhances its existing functionality vrl: typedef Changes to the type system labels May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A value-adding code change that enhances its existing functionality vrl: typedef Changes to the type system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant