Skip to content

Commit

Permalink
Deprecate history field
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin committed Nov 15, 2024
1 parent cad0299 commit d6d0a99
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -12158,6 +12158,10 @@
"$ref": "#/definitions/v1Header",
"description": "Headers that were passed by the sender of the signal and copied by temporal \nserver into the workflow task."
},
"skipGenerateWorkflowTask": {
"type": "boolean",
"description": "This field is deprecated and never respected. It should always be set to false."
},
"externalWorkflowExecution": {
"$ref": "#/definitions/v1WorkflowExecution",
"description": "When signal origin is a workflow execution, this field is set."
Expand Down
3 changes: 3 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9682,6 +9682,9 @@ components:
allOf:
- $ref: '#/components/schemas/Header'
description: "Headers that were passed by the sender of the signal and copied by temporal \n server into the workflow task."
skipGenerateWorkflowTask:
type: boolean
description: This field is deprecated and never respected. It should always be set to false.
externalWorkflowExecution:
allOf:
- $ref: '#/components/schemas/WorkflowExecution'
Expand Down
3 changes: 2 additions & 1 deletion temporal/api/history/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ message WorkflowExecutionSignaledEventAttributes {
// Headers that were passed by the sender of the signal and copied by temporal
// server into the workflow task.
temporal.api.common.v1.Header header = 4;
reserved 5;
// This field is deprecated and never respected. It should always be set to false.
bool skip_generate_workflow_task = 5 [deprecated = true];
// When signal origin is a workflow execution, this field is set.
temporal.api.common.v1.WorkflowExecution external_workflow_execution = 6;
}
Expand Down

0 comments on commit d6d0a99

Please sign in to comment.