-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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: share ExtensionGetter Bean with plugins for extension retrieval #6365
feat: share ExtensionGetter Bean with plugins for extension retrieval #6365
Conversation
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6365 +/- ##
============================================
+ Coverage 54.51% 58.35% +3.84%
- Complexity 3523 3766 +243
============================================
Files 646 646
Lines 21862 21986 +124
Branches 1528 1546 +18
============================================
+ Hits 11917 12829 +912
+ Misses 9328 8535 -793
- Partials 617 622 +5 ☔ View full report in Codecov by Sentry. |
/retitle feat: share ExtensionGetter Bean with plugins for extension retrieval |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: guqing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@LIlGG 此 PR 需要增加开发者文档,以告知插件开发者如何使用 ExtensionGetter 来扩展自己的插件功能 |
好,我去补充一下相关文档。 |
#### What this PR does / why we need it: 添加 ExtensionGetter 的开发者文档及示例。 see halo-dev/halo#6365 #### Does this PR introduce a user-facing change? ```release-note None ```
What type of PR is this?
/kind improvement
/area core
/milestone 2.18.x
What this PR does / why we need it:
通过将 ExtensionGetter Bean 共享到给插件的 ApplicationContext,插件能够方便地使用该 Bean 来获取扩展。此更改确保插件具有可靠的扩展访问方式,从而促进系统内更好的模块化和可扩展性。
Which issue(s) this PR fixes:
Fixes #6357
Does this PR introduce a user-facing change?