Skip to content

Commit

Permalink
Merge pull request #121 from dolittle/stream-aggregate-events
Browse files Browse the repository at this point in the history
Split request
  • Loading branch information
woksin authored Sep 6, 2022
2 parents df87ac6 + a0cd36f commit 986fe2b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Source/Runtime/Events/EventStore.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,16 @@ message FetchForAggregateRequest {
message FetchForAggregateInBatchesRequest {
services.CallRequestContext callContext = 1;
Aggregate aggregate = 2;
repeated artifacts.Artifact eventTypes = 3;
oneof Request {
FetchAllEventsForAggregateInBatchesRequest fetchAllEvents = 3;
FetchEventsForAggregateInBatchesRequest fetchEvents = 4;
}
}
message FetchAllEventsForAggregateInBatchesRequest {
}

message FetchEventsForAggregateInBatchesRequest {
repeated artifacts.Artifact eventTypes = 1;
}

message CommitEventsResponse {
Expand Down

0 comments on commit 986fe2b

Please sign in to comment.