Skip to content

compileScript 支持传入 InputStream - #659

Closed
lantingeee wants to merge 1 commit into
killme2008:masterfrom
lantingeee:dev_addStreamCompile
Closed

compileScript 支持传入 InputStream #659
lantingeee wants to merge 1 commit into
killme2008:masterfrom
lantingeee:dev_addStreamCompile

Conversation

@lantingeee

@lantingeee lantingeee commented Dec 25, 2024

Copy link
Copy Markdown

当前 compile Script 只支持传入文件 path,当策略文件封装进 jar 包时,java 无法获取 file 对象及 path,期望能支持 InputStream 的 compile Script

@lantingeee

Copy link
Copy Markdown
Author

请问这个 调整可以合并吗?

@killme2008

Copy link
Copy Markdown
Owner

建议做在你自己的使用代码里。从我的角度,不喜欢传入一个资源,需要 take care 它,管理他的关闭等。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants