Template Struct FanOutResult
Defined in File fan_out_helpers.hpp
Struct Documentation
-
template<class T>
struct FanOutResult Typed fan-out result for collection endpoints. Mirrors merge_peer_items but returns parsed
Titems (via dto::JsonReader<T>) plus typed observability records for items that failed validation, instead of mutating raw JSON in place.Public Members
-
bool partial = {false}
True if at least one targeted peer failed.
-
std::vector<std::string> failed_peers
Names of peers that failed (matches AggregationManager::FanOutResult.failed_peers).
-
std::vector<dto::DroppedItem> dropped_items
Per-item drop records for peer items that failed JsonReader<T> validation. Surfaces “invisible drift” - malformed peer items used to disappear silently; now callers can fold these into x-medkit.peer_dropped_items for observability.
-
bool partial = {false}