Typed proxy support
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java
调研方向
从需求和链接的 Java Proxy 文档开始。定义类型化 activity、orchestration 和 sub-orchestration 调用的范围,包括提议的单元测试体验。完成的标准是 Java SDK 提供一种有文档说明的类型安全代理方式,涵盖全部三种调用情况。
由索引模型根据 Issue 内容生成。
描述
Requirements
In order to create a type-safe experience for working with orchestrations and activities, the Java SDK for the Durable Task Framework should support type-safe invocation of orchestration and activities.
For example, when calling an activity, instead of the following:
Object activityInput = "World";
String result = context.callActivity("SayHello", activityInput, String.class).get();
...we should be able to instead write:
MyActivities activities = // get a pointer to an activity proxy
String result = activities.sayHello("World");
We'd want the same experience also for orchestrations (created by a client) and sub-orchestrations.
Ideally this support will also allow developers to easily unit test their code.
Design considerations
Java's Proxy support could be a good starting point for such a feature.
- 主要语言
- Java
- 星标
- 29
- 派生
- 18
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/durabletask-java 的其他 Issue
-
Needs: Triage :mag:
难度 4/5 3-5 天 新手友好度 48/100
microsoft/durabletask-java#303 ·
-
Needs: Triage :mag:
难度 4/5 3-5 天 新手友好度 45/100
microsoft/durabletask-java#290 · 2 条评论 ·
-
Needs: Triage :mag:
难度 5/5 一周以上 新手友好度 35/100
microsoft/durabletask-java#285 ·
-
Needs: Triage :mag:
难度 3/5 1-2 天 新手友好度 68/100
microsoft/durabletask-java#276 ·
-
Enhancement
microsoft/durabletask-java#274 · 1 个 reaction · 已指派 2 人 ·
查看 microsoft/durabletask-java 的全部 Issue
相似的 Issue
-
Bug Java Platform: Java
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-java#6138 · 1 条评论 ·
-
bug needs triage p2
难度 2/5 1-3 小时 新手友好度 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
-
[Studio][Bug] Bulk-deleting a full page of alert rules steps the page back while more rules remain 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
apache/rocketmq-dashboard#4654 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100