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

Allow a filter to return a new action #39

Open
deanrad opened this issue Aug 4, 2021 · 0 comments
Open

Allow a filter to return a new action #39

deanrad opened this issue Aug 4, 2021 · 0 comments

Comments

@deanrad
Copy link
Owner

deanrad commented Aug 4, 2021

If a filter returns a type of thing ({replace: newEvent } for example), then the event being processed should be replaced with the one returned.

Enables a non-mutating way for the common scenario of a filter 'altering' an event (such as replacing a resource request event with an event that is an auth check, containing the resource request event in its payload.

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

No branches or pull requests

1 participant