mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-10 02:05:10 +00:00
Fall back to String for Comment::path when not using the full feature (#2941)
This commit is contained in:
parent
24323e17b2
commit
9419dd7c05
|
@ -38,6 +38,8 @@ pub struct Comment {
|
|||
#[cfg_attr(feature = "full", ts(type = "string"))]
|
||||
/// The path / tree location of a comment, separated by dots, ending with the comment's id. Ex: 0.24.27
|
||||
pub path: Ltree,
|
||||
#[cfg(not(feature = "full"))]
|
||||
pub path: String,
|
||||
/// Whether the comment has been distinguished(speaking officially) by a mod.
|
||||
pub distinguished: bool,
|
||||
pub language_id: LanguageId,
|
||||
|
|
Loading…
Reference in a new issue