Skip to content

Passing context to modifier #33

@bnayalivne

Description

@bnayalivne

Hey,

What do you think about passing the current context to a modifier as the "this" instance instead of the function itself as the context?

I mean replace this with:
return fname.apply(data, paramData)

This will allow more complex custom modifiers that needs more information to return the output.
Do you think it has any downside?

Thanks,
Bnaya

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