Skip to content

Commit 7b01da1

Browse files
committed
[SDK Ergonomics] NEXUS-519: Add link to QueryWorkflowResponse
For Nexus Operations. Query is both read-only and sync- so 1. no callbacks 2. the link is only from caller to the handler- and is specifically a workflow link as there isnt a history event in handler for query
1 parent f53963d commit 7b01da1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,6 +1187,8 @@ message QueryWorkflowRequest {
11871187
message QueryWorkflowResponse {
11881188
temporal.api.common.v1.Payloads query_result = 1;
11891189
temporal.api.query.v1.QueryRejected query_rejected = 2;
1190+
// Holds the link to the Workflow execution that processed the Query.
1191+
temporal.api.common.v1.Link link = 3;
11901192
}
11911193

11921194
message DescribeWorkflowExecutionRequest {

0 commit comments

Comments
 (0)