Skip to content

Commit 56eb6ef

Browse files
authored
3.0 Add query type to all Query responses (#211)
## Release notes: usage and product changes We add a `query_type` field to all the `Query.InitialRes.Ok` to support retrieval of this information for any `QueryAnswer` on the client side. Additionally, the `Ok.Empty` message was renamed to `Ok.Done`.
1 parent 94fdeb4 commit 56eb6ef

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

proto/query.proto

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ message Query {
3131

3232
message Ok {
3333
oneof ok {
34-
Empty empty = 1;
34+
Done done = 1;
3535
ConceptDocumentStream concept_document_stream = 3;
3636
ConceptRowStream concept_row_stream = 4;
3737
}
3838

39-
message Empty {}
39+
message Done {
40+
Type query_type = 1;
41+
}
4042

4143
message ConceptDocumentStream {
4244
// note: we could use this first response to record debug info, type annotations, warnings, etc

0 commit comments

Comments
 (0)