From 285c57e49ec15e2caac2c9f57c5407654005e28f Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 19 Dec 2022 18:53:09 -0800 Subject: pds: some TODO notes about new lexicon changes --- adenosine-pds/src/models.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'adenosine-pds/src/models.rs') diff --git a/adenosine-pds/src/models.rs b/adenosine-pds/src/models.rs index 6dbe725..6c02a71 100644 --- a/adenosine-pds/src/models.rs +++ b/adenosine-pds/src/models.rs @@ -158,6 +158,8 @@ pub struct PostThread { pub thread: ThreadItem, } +// TODO: 'parent' and 'replies' should allow "NotFoundPost" for references that point to an unknown +// URI #[allow(non_snake_case)] #[derive(Debug, serde::Serialize, serde::Deserialize, Clone, PartialEq, Eq)] pub struct ThreadItem { -- cgit v1.2.3