Skip to content

Commit

Permalink
Convert updates to protocol/message data types (#253)
Browse files Browse the repository at this point in the history
* Convert updates to protocol/message data types

* Reconsidering the definition of Outcome to exclude Incomplete

The possibility for an outcome to be incomplete is not present in the
protocol messages - it is only something that can happen with the RPC so
we move that indication up a level to the RPC response object. This also
prevents us from accidentally storing Incomplete{} as the outcome value
in an update completed event.

* Add workflow task failed causes

* Add ProtocolMessageCommand

Will be used to reference and sequence protocol messages from the
RespondWorkflowTaskCompletedRequest.Messages field.
  • Loading branch information
alexshtin committed Jan 25, 2023
1 parent a04ebcb commit 42737e4
Show file tree
Hide file tree
Showing 24 changed files with 6,741 additions and 5,434 deletions.
1,404 changes: 239 additions & 1,165 deletions command/v1/message.pb.go

Large diffs are not rendered by default.

86 changes: 38 additions & 48 deletions enums/v1/command_type.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 42737e4

Please sign in to comment.