Watch
0
0
Fork
You've already forked hyperhive
0

notify flows: GET returns a schema of the events, fields, node kinds and limits

This commit is contained in:
atlas 2026-10-24 12:25:19 +02:00 • committed by mara
commit d5802d16a0
5 changed files with 281 additions and 26 deletions

View file

@ -172,7 +172,10 @@ mod tests {
.keys()
.copied()
.collect();
let mut want = swarm_wire::notify_flows::FIELDS.to_vec();
let mut want = swarm_wire::notify_flows::FIELDS
.iter()
.map(|(n, _)| *n)
.collect::<Vec<_>>();
got.sort_unstable();
want.sort_unstable();
assert_eq!(got, want, "{event}");