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

有没有考虑添加dylib 作为动态插件 #41

Open
simline opened this issue Oct 3, 2024 · 1 comment
Open

有没有考虑添加dylib 作为动态插件 #41

simline opened this issue Oct 3, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@simline
Copy link

simline commented Oct 3, 2024

相当优秀的项目,也比我的idea要成熟很多,顺带的也有个我平时的需求:

支持dylib作为插件,将 JSON (或其他无需预定义字段结构的类型) 作为唯一的输入&输出,即可实现所有lib的动态加载调用

不过此间还可能涉及两个问题:
1)动态调取Request参数并填充到请求模块的模板;
2)链式调用,即Step function类型的传递,上一Step的结果为下一Step的入参

相关背景:比如复杂的业务需求,涉及 1鉴权 + 2数据提取 + 3外部API调用 + 4数据保存 + 5返回Step3的结果。即每一Step为独立插件的某一函数,可以互通

@vicanso
Copy link
Owner

vicanso commented Oct 4, 2024

动态加载lib暂时未有计划,后续完善版本之后再考虑程序如何支持动态化的业务逻辑

@vicanso vicanso self-assigned this Oct 4, 2024
@vicanso vicanso added the enhancement New feature or request label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants