Skip to content

Commit

Permalink
Add function_version to Call (#32)
Browse files Browse the repository at this point in the history
This changes add a function_version field to the Call data model to
allow selecting the right version of the code during execution.
  • Loading branch information
Pryz authored May 24, 2024
2 parents 78267a6 + 006b20a commit 40d559c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dispatch/sdk/v1/call.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ message Call {
//
// The value might be capped to a maximum by the service handling the call.
google.protobuf.Duration expiration = 5 [(buf.validate.field).duration.gte = {seconds: 0}];

// Version of the application to select during execution.
// The version is an optional field and not supported by all execution platforms.
string version = 6;
}

// CallResult is the result of a call operation.
Expand Down

0 comments on commit 40d559c

Please sign in to comment.