For the development of other framework document parsing, can this functionality be added through plugin dependency instead of modifying the source code? #592
Labels
enhancement
New feature or request
Summary
For the development of other framework document parsing, this functionality can be added through plugin dependency instead of modifying the source code.
Modifying the source code is, after all, a bit too aggressive; once you change the source code for secondary development, you can no longer follow the updates of Smart-Doc, turning it into a one-time version.
Possible implementation ideas:
On the plugin side, add dependencies to extend user-defined frameworks.
At runtime, scan for implemented classes of specified interfaces, with each class serving as support for a framework; or use SPI extensions?
其他框架文档解析开发,这个功能是否可以通过添加plugin dependency形式,而不是修改源码。
修改源码毕竟还是太粗暴了,一旦改源码二次开发,基本无法再跟随smart-doc的更新,成了一次性的版本。
可能的实现思路:
在plugin上,添加dependency,用于扩展用户自定义的框架
运行时,扫描指定接口的实现类,每一个类作为一个框架的支持;或者SPI扩展?
The text was updated successfully, but these errors were encountered: