Skip to content

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

@binarylogic

Description

@binarylogic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    meta: ideaAnything in the idea phase. Needs further discussion and consensus before work can begin.transform: luaAnything `lua` transform related

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions