Don't include the document node path in the stable node id by default (#1388)

* Don't include the document node path in the stable node id by default

Make the inclusion of the document path for the stable node id optional
and only enable it for the MonitorNode for now

* Fix tests
This commit is contained in:
Dennis Kobert
2023-08-13 12:25:42 +02:00
committed by GitHub
parent dc4b16aead
commit 752df128e3
5 changed files with 29 additions and 8 deletions

View File

@@ -77,7 +77,9 @@ pub struct TypeDescriptor {
#[specta(skip)]
pub id: Option<TypeId>,
pub name: Cow<'static, str>,
#[serde(default)]
pub size: usize,
#[serde(default)]
pub align: usize,
}