How do I make my custom derive also accept a string paramater

#[derive(IntoModel)]
#[table_name = String::from("user_information")]
struct UserInformation {
    name: String,
    age: u64,
}

I've successfully implemented the #[derive(IntoModel)] How do I parse the AST to retrieve the table_name as a string

Try deluxe.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.