···292292 /// path to the secondary link in the linking record
293293 path_to_other: String,
294294 /// filter to linking records (join of the m2m) by these DIDs
295295+ ///
296296+ /// TODO: this should be called `link_did`, deprecate + add an alias
297297+ /// TODO: should we have an `other_did` filter as well?
295298 #[serde(default)]
296299 did: Vec<String>,
297300 /// filter to specific secondary records
···700703 /// path to the secondary link in the linking record
701704 path_to_other: String,
702705 /// filter to linking records (join of the m2m) by these DIDs
706706+ ///
707707+ /// TODO: should we have an `other_did` filter as well?
703708 #[serde(default)]
704704- did: Vec<String>,
709709+ link_did: Vec<String>,
705710 /// filter to specific secondary records
706711 #[serde(default)]
707712 other_subject: Vec<String>,
···740745 }
741746742747 let filter_dids: HashSet<Did> = query
743743- .did
748748+ .link_did
744749 .iter()
745750 .map(|d| d.trim())
746751 .filter(|d| !d.is_empty())