Skip to content

Commit e903af1

Browse files
authored
Enable recursive terminate/purge (dapr#3296)
Signed-off-by: Shivam Kumar <[email protected]>
1 parent 087a597 commit e903af1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

workflows/requests.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ type GetRequest struct {
1616
// TerminateRequest is the struct describing a terminate workflow request.
1717
type TerminateRequest struct {
1818
InstanceID string `json:"instanceID"`
19+
Recursive bool `json:"recursive"`
1920
}
2021

2122
// RaiseEventRequest is the struct describing a raise workflow event request.
@@ -38,4 +39,5 @@ type ResumeRequest struct {
3839
// PurgeRequest is the object describing a Purge request.
3940
type PurgeRequest struct {
4041
InstanceID string `json:"instanceID"`
42+
Recursive bool `json:"recursive"`
4143
}

0 commit comments

Comments
 (0)