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

add unset_versioning_override to WorkflowExecutionOptionsUpdatedEventAttributes #516

Merged
merged 4 commits into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -13077,7 +13077,11 @@
"properties": {
"versioningOverride": {
"$ref": "#/definitions/v1VersioningOverride",
"description": "Versioning override in the mutable state after event has been applied."
"description": "Versioning override upserted in this event.\nIgnored if nil or if unset_versioning_override is true."
},
"unsetVersioningOverride": {
"type": "boolean",
"description": "Versioning override removed in this event."
}
}
},
Expand Down
7 changes: 6 additions & 1 deletion openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10572,7 +10572,12 @@ components:
versioningOverride:
allOf:
- $ref: '#/components/schemas/VersioningOverride'
description: Versioning override in the mutable state after event has been applied.
description: |-
Versioning override upserted in this event.
Ignored if nil or if unset_versioning_override is true.
unsetVersioningOverride:
type: boolean
description: Versioning override removed in this event.
WorkflowExecutionSignaledEventAttributes:
type: object
properties:
Expand Down
5 changes: 4 additions & 1 deletion temporal/api/history/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,11 @@ message ChildWorkflowExecutionTerminatedEventAttributes {
}

message WorkflowExecutionOptionsUpdatedEventAttributes {
// Versioning override in the mutable state after event has been applied.
// Versioning override upserted in this event.
// Ignored if nil or if unset_versioning_override is true.
temporal.api.workflow.v1.VersioningOverride versioning_override = 1;
// Versioning override removed in this event.
bool unset_versioning_override = 2;
carlydf marked this conversation as resolved.
Show resolved Hide resolved
}

// Not used anywhere. Use case is replaced by WorkflowExecutionOptionsUpdatedEventAttributes
Expand Down
Loading