-
-
Notifications
You must be signed in to change notification settings - Fork 327
lib/plugins: introduce mkMetaModule
#2925
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
Conversation
Just for me to understand, what is the point of using a module here ? |
I'd say it's to ease the usage, as it's easier to set |
Yes, producing a module simplifies both the usage and implementation. For usage, we can just dump the value into For implementation, we have full access to all module args. Especially At the end of the day, we're working with a module system. Using and producing modules will usually be the idiomatic approach. 😁 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok makes perfect sense !
a92680c
to
1a5f1b4
Compare
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 1a5f1b4 |
This pull request, with head sha This pull request will be automatically closed by GitHub.As soon as GitHub detects that the sha It is possible for this pull request to remain open if this detection does not happen, this usually happens when a force-push is done on this branch |
Cherry-picked from #2884