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

Restore event structure before passing it to the lua runtime #706

Closed
binarylogic opened this issue Aug 4, 2019 · 0 comments · Fixed by #2095
Closed

Restore event structure before passing it to the lua runtime #706

binarylogic opened this issue Aug 4, 2019 · 0 comments · Fixed by #2095
Labels
meta: idea Anything in the idea phase. Needs further discussion and consensus before work can begin. transform: lua Anything `lua` transform related

Comments

@binarylogic
Copy link
Contributor

Related #704

This raises the question of unflattening the event before providing it to the user's Lua script in the lua transform. Without this, the user must access arrays and nested items through our flattened structure. This feels a little strange given that Lua is a runtime and it can work with nested objects and arrays.

I'm not necessarily proposing changes here, but I wanted to think about it as we think through #704, and have this document our decision for posterity.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta: idea Anything in the idea phase. Needs further discussion and consensus before work can begin. transform: lua Anything `lua` transform related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant