Oso diesel2 conflict

I am using both diesel 2.0 and oso in a project, if I define a struct:

#[derive(PolarClass)]
#[diesel(table_name = accounts)]
pub struct Account {
    #[polar(attribute)]
    pub id: Uuid,
    pub email: String,
}

get error:

proc-macro derive panicked
message: called `Result::unwrap()` on an `Err` value: Error("expected literal")

if use #[table_name = "accounts"], will not have the above problem. Other structs with #[diesel(table_name = accounts)] that don't use PalorClass don't have this problem either

Here is demo: GitHub - Siceberg/oso-diesel2-conflict-demo: oso diesel2 conflict demo

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.