Open
Description
Describe the bug
Introspect derive macro will fail for a Span/Array if it's last field and doesnt end by comma & have a comment
Not Ok
#[derive(Copy, Drop, Serde, Introspect)]
#[dojo::model]
pub struct MyModel {
#[key]
pub id: u32,
pub array: Span<u32> // comment <-- fail :(
}
Ok
#[derive(Copy, Drop, Serde, Introspect)]
#[dojo::model]
pub struct MyModel {
#[key]
pub id: u32,
pub array: Span<u32>, // comment
}
Additional context
1.4.0