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

下游是rpc服务的参数拼装 #16

Open
sugerboy20170827 opened this issue Aug 10, 2024 · 1 comment
Open

下游是rpc服务的参数拼装 #16

sugerboy20170827 opened this issue Aug 10, 2024 · 1 comment

Comments

@sugerboy20170827
Copy link

我的场景
希望能从请求参数和前置op获取结果进行参数拼装,然后通过泛化调用rpc来完成服务编排

TaskFlow框架支持的是按照特定的jsonpath获取参数,然后执行代理对象
image

请问有这种参数映射能力么,把多个jsonpath获取得到的结果组成一个特定的json结构,比如task.ob[].book,然后把这个json作为入参传递给泛化的rpc完成调用

@sugerboy20170827
Copy link
Author

image
补充一下我的场景,如上图所示,基本类型可以直接映射,对于复杂类型呢,比如一个对象和数组来源于不同的jsonpath, 需要把他们进行合并

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

No branches or pull requests

1 participant