mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
1. 修复了节点导出C#代码时,入参作为string字符串的转义问题
2. 修复了 GetOtherNodeDataOfInvoke 类型入参来源生成代码出错,同时增加了异步判断 3. 修复了[Script]脚本节点无法正确获取程序集的问题
This commit is contained in:
@@ -197,8 +197,11 @@ namespace Serein.NodeFlow.Model.Nodes
|
||||
string returnTypeName = nodeInfo.CustomData?.ReturnTypeName ?? typeof(object);
|
||||
|
||||
var flowLibService = Env.IOC.Get<FlowLibraryService>();
|
||||
|
||||
Type?[] argType = array.Select(item => string.IsNullOrWhiteSpace(item.ArgType) ? null : flowLibService.GetType(item.ArgType) ?? typeof(Unit)).ToArray();
|
||||
|
||||
Type?[] argType = array.Select(info => string.IsNullOrWhiteSpace(info.ArgType) ? typeof(Unit)
|
||||
: Type.GetType(info.ArgType)
|
||||
?? flowLibService.GetType(info.ArgType)
|
||||
?? typeof(Unit)).ToArray();
|
||||
|
||||
Type? resType = Type.GetType(returnTypeName);
|
||||
for (int i = 0; i < paramCount; i++)
|
||||
|
||||
Reference in New Issue
Block a user