Skip to content
Snippets Groups Projects
Verified Commit 4978534b authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: entity-id

parent 659c0f16
No related branches found
No related tags found
1 merge request!70Refactory the entity id
Pipeline #27788 passed
...@@ -302,7 +302,7 @@ public class EntityTransactionServiceImpl extends EntityTransactionServiceImplBa ...@@ -302,7 +302,7 @@ public class EntityTransactionServiceImpl extends EntityTransactionServiceImplBa
// put inserted/updated/deleted entities back into the response // put inserted/updated/deleted entities back into the response
for (final EntityInterface entity : container) { for (final EntityInterface entity : container) {
final IdResponse.Builder idResponse = IdResponse.newBuilder(); final IdResponse.Builder idResponse = IdResponse.newBuilder();
if (entity.getId() != null) { if (entity.hasId()) {
idResponse.setId(entity.getId().toString()); idResponse.setId(entity.getId().toString());
} }
caosdbToGrpc.appendMessages(entity, idResponse); caosdbToGrpc.appendMessages(entity, idResponse);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment