···278278 /// path to the secondary link in the linking record
279279 path_to_other: String,
280280 /// filter to linking records (join of the m2m) by these DIDs
281281+ ///
282282+ /// TODO: this should be called `link_did`, deprecate + add an alias
283283+ /// TODO: should we have an `other_did` filter as well?
281284 #[serde(default)]
282285 did: Vec<String>,
283286 /// filter to specific secondary records
···686689 /// path to the secondary link in the linking record
687690 path_to_other: String,
688691 /// filter to linking records (join of the m2m) by these DIDs
692692+ ///
693693+ /// TODO: should we have an `other_did` filter as well?
689694 #[serde(default)]
690690- did: Vec<String>,
695695+ link_did: Vec<String>,
691696 /// filter to specific secondary records
692697 #[serde(default)]
693698 other_subject: Vec<String>,
···726731 }
727732728733 let filter_dids: HashSet<Did> = query
729729- .did
734734+ .link_did
730735 .iter()
731736 .map(|d| d.trim())
732737 .filter(|d| !d.is_empty())