F 220
Compare changes
@@ -26,7 +26,7 @@ import org.caosdb.server.entity.Entity;
@@ -51,10 +51,10 @@ public class ParentContainer extends Container<Parent> {
Fix for #220 (closed) and #223 (closed)
SetFieldStrategy
is being renamed to SerializeFieldStrategy
in order to avoid setters and getters with awkward names: SetSetFieldStrategy
and GetSetFieldStrategy
.SerializeFieldStrategy
is also used in the CaosdbToGrpc
Helper class now. This is the actual bug fix! Prior to this, the entities would be serialized to Protobuf without any mechanism to prevent all the fields (i.e. the id, name, parents, properties...) from being serialized. This was planned anyways (because this is part of the implementation for SELECT query responses) but it didn't occur to me that this is already needed for normal retrievals.Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines
For further good practices have a look at our review guidelines.