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

feat(core): Add plugins as an argument in pre and post calls of a plugin #1975

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

asastre
Copy link
Contributor

@asastre asastre commented Oct 22, 2021

Description

Add all initialized plugins as an extra argument in pre and post calls of the plugins in runPlugins function.
Also, update declarations of pre and post functions.

Context

In some situations it may be useful to use the initialized plugins inside a plugin instead of creating a new instance. This way we can take advantage of caches or initial processes of the plugins that are already done.

Approach taken / Explain the design

To document / Usage example

Testing

The pull request has no tests.

…ugin to be able to use the initialized plugins inside a pre/post plugin call
Copy link

@marcpdw marcpdw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants