-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
I was trying to name one of my table's columns type
, but r#type
causes the macro to panic.
proc-macro panicked: `"r#type"` is not a valid identifier
A minimal reproduction of the error can be created with
#[model]
#[table = "table_name"]
#[derive(Debug)]
pub struct MyTable {
#[pk]
id: String,
r#type: MyTableType // Enum defined with #[derive(FieldType)]
}
jayvdb
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers