···376376/// let output = agent.create_record(post, None).await?;
377377///
378378/// // Read it back
379379-/// let response = agent.get_record::<Post>(output.uri).await?;
379379+/// let response = agent.get_record::<Post>(&output.uri).await?;
380380/// let record = response.parse()?;
381381/// println!("Post: {}", record.value.text);
382382/// # Ok(())
···477477 /// # async fn main() -> Result<(), Box<dyn std::error::Error>> {
478478 /// # let agent: BasicClient = todo!();
479479 /// let uri = AtUri::new_static("at://did:plc:xyz/app.bsky.feed.post/3l5bqm7lepk2c").unwrap();
480480- /// let response = agent.get_record::<Post>(uri).await?;
480480+ /// let response = agent.get_record::<Post>(&uri).await?;
481481 /// let output = response.parse()?; // PostGetRecordOutput<'_> borrowing from buffer
482482 /// println!("Post text: {}", output.value.text);
483483 ///
···601601 /// # let agent: BasicClient = todo!();
602602 /// let uri = AtUri::new_static("at://did:plc:xyz/app.bsky.actor.profile/self").unwrap();
603603 /// // Update profile record in-place
604604- /// agent.update_record::<Profile>(uri, |profile| {
604604+ /// agent.update_record::<Profile>(&uri, |profile| {
605605 /// profile.display_name = Some(CowStr::from("New Name"));
606606 /// profile.description = Some(CowStr::from("Updated bio"));
607607 /// }).await?;
···10231023 /// # async fn main() -> Result<(), Box<dyn std::error::Error>> {
10241024 /// let client = BasicClient::unauthenticated();
10251025 /// let uri = AtUri::new_static("at://did:plc:xyz/app.bsky.feed.post/3l5abc").unwrap();
10261026- /// let response = client.get_record::<Post<'_>>(uri).await?;
10261026+ /// let response = client.get_record::<Post<'_>>(&uri).await?;
10271027 /// # Ok(())
10281028 /// # }
10291029 /// ```
+1-1
examples/read_whitewind_post.rs
···2222 let agent = BasicClient::unauthenticated();
23232424 // Use Agent's get_record helper with the at:// URI
2525- let response = agent.get_record::<Entry>(uri).await?;
2525+ let response = agent.get_record::<Entry>(&uri).await?;
2626 let output = response.into_output()?;
27272828 println!("📚 WhiteWind Blog Entry\n");
+1-1
examples/update_profile.rs
···48484949 // Update profile in-place using the fetch-modify-put pattern
5050 agent
5151- .update_record::<Profile>(uri, |profile| {
5151+ .update_record::<Profile>(&uri, |profile| {
5252 if let Some(name) = &args.display_name {
5353 profile.display_name = Some(CowStr::from(name.clone()));
5454 }