i was testing for someone if self nesting of types works and it does with a big *.
the type i'm testing with is
#[derive(Debug, SpacetimeType, Clone)]
pub struct TestNestedType {
pub test_nest: Option<Box<TestNestedType>>
}
when used as only a parameter, it publishes fine and the schema looks good.
when used within another type, table or enum, it crashes the server instance on publish.
thread '<unnamed>' (772) panicked at crates\schema\src\schema.rs:1226:14:
validated module should have all types resolve: RecursiveTypeRef(AlgebraicTypeRef(4))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
i tried to run the server with spacetime start --enable-tracy but it doesn't change anything nor show more any more info (bug?)
i was testing for someone if self nesting of types works and it does with a big *.
the type i'm testing with is
when used as only a parameter, it publishes fine and the schema looks good.
when used within another type, table or enum, it crashes the server instance on publish.
i tried to run the server with
spacetime start --enable-tracybut it doesn't change anything nor show more any more info (bug?)