at protocol indexer with flexible filtering, xrpc queries, and a cursor-backed event stream, built on fjall
at-protocol atproto indexer rust fjall

[ingest] add serde(default)s to fields that have skip serializing if

ptr.pet bea4e639 6638fccb

verified
+3
+3
src/ingest/stream.rs
··· 225 pub path: jacquard_common::CowStr<'a>, 226 /// For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined. 227 #[serde(skip_serializing_if = "std::option::Option::is_none")] 228 #[serde(borrow)] 229 pub prev: Option<CidLink<'a>>, 230 } ··· 241 #[serde(borrow)] 242 pub ops: Vec<RepoOp<'a>>, 243 #[serde(skip_serializing_if = "Option::is_none")] 244 #[serde(borrow)] 245 pub prev_data: Option<CidLink<'a>>, 246 pub rebase: bool, ··· 259 #[serde(borrow)] 260 pub did: Did<'a>, 261 #[serde(skip_serializing_if = "Option::is_none")] 262 #[serde(borrow)] 263 pub handle: Option<Handle<'a>>, 264 pub seq: i64,
··· 225 pub path: jacquard_common::CowStr<'a>, 226 /// For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined. 227 #[serde(skip_serializing_if = "std::option::Option::is_none")] 228 + #[serde(default)] 229 #[serde(borrow)] 230 pub prev: Option<CidLink<'a>>, 231 } ··· 242 #[serde(borrow)] 243 pub ops: Vec<RepoOp<'a>>, 244 #[serde(skip_serializing_if = "Option::is_none")] 245 + #[serde(default)] 246 #[serde(borrow)] 247 pub prev_data: Option<CidLink<'a>>, 248 pub rebase: bool, ··· 261 #[serde(borrow)] 262 pub did: Did<'a>, 263 #[serde(skip_serializing_if = "Option::is_none")] 264 + #[serde(default)] 265 #[serde(borrow)] 266 pub handle: Option<Handle<'a>>, 267 pub seq: i64,