You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/06/30 07:30:23 UTC

[GitHub] [incubator-dolphinscheduler] wa-ooo opened a new issue #3091: [QUESTION]ConditionResult, Dependence fields in tasknode. class Why do use string type

wa-ooo opened a new issue #3091:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3091


   为什么Tasknode.class中的ConditionResult, Dependence 属性要使用string类型接收,前端传递的明明是个object,后端就莫名变成了个string了,如果后端要反序列化ProcessData做修改.那么获取到的ConditionResult, Dependence会是string类型,如果将修改后的processdata序列化成string,保存为processdata的ProcessDefinitionJson回传给前端,那么前端显示就会有问题了
   
   ConditionResult, Dependence attribute in tasknode. class should be received with a String, the front end is obviously an object, but the back end becomes a string somehow, if the back end deserializes ProcessData to change it. The ProcessDefinitionJson saved as ProcessData is passed back to the front end, and the front end display will be problematic


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org