Skip to content

inmem: Allow triggers to consume AST data from store #7958

@anderseknert

Description

@anderseknert

Clients that use the AST store likely will want to have their triggers passed AST data too. This is currently not possible, as triggers that run on the AST store will be served data piped via ast.ValueToInterface. In addition to likely not being what the client wants, this comes with a potentially big performance impact.

The Register (trigger) function on the store already allows passing a TriggerConfig which currently only contains an OnCommit function option. I suggest we add a new field here to set the desired data format passed to trigger functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions