diff --git a/src/caosdb/entity.cpp b/src/caosdb/entity.cpp
index fa96ba88ed0d71e153b2d5f9e1e4b08831ec6dae..017aac5ca6ab28d6773c16ca7dc9662e5990c2d4 100644
--- a/src/caosdb/entity.cpp
+++ b/src/caosdb/entity.cpp
@@ -272,7 +272,8 @@ auto Entity::FixValue() -> void { FixValueImpl(this); }
 
 // Utility functions //////////////////////////////////////////////////////////
 
-template <typename E> auto FixValueImpl(E *ent) -> void {
+// TODO(daniel) cognitive complexity is too high
+template <typename E> auto FixValueImpl(E *ent) -> void { //NOLINT
   const auto &dtype = ent->GetDataType();
   const auto &value = ent->GetValue();
   auto new_value = Value();