From eb4ccbfb36330b94a37428982d2e94ab3066965d Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Fri, 23 Jul 2021 00:13:48 +0200
Subject: [PATCH] add errors, warnings, infos to RetrieveResponse

---
 proto/caosdb/entity/v1alpha1/main.proto | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/proto/caosdb/entity/v1alpha1/main.proto b/proto/caosdb/entity/v1alpha1/main.proto
index 1980707..9c11bb3 100644
--- a/proto/caosdb/entity/v1alpha1/main.proto
+++ b/proto/caosdb/entity/v1alpha1/main.proto
@@ -125,6 +125,12 @@ message ByIdRequest {
 message RetrieveResponse {
   // Payload of the retrieval
   Entity entity = 1;
+  // Transaction errors.
+  repeated Message errors = 2;
+  // Transaction warnings.
+  repeated Message warnings = 3;
+  // Transaction info messages.
+  repeated Message infos = 4;
 }
 
 // Wrapper for different kinds of retrievals (currently, only by ID). We need
-- 
GitLab