Open Zk2u opened 3 months ago
Let's say we have the following.
#[charybdis_model( table_name = chefs, partition_keys = [id], clustering_keys = [], global_secondary_indexes = [email, phone], local_secondary_indexes = [], static_columns = [] )] #[derive(Default, Serialize, Deserialize)] pub struct Chef { /// Chef's unique; identifier. Immutable pub id: Uuid, pub email: Text, pub phone: Text, }
The semi-colon in the doc comment for id will cause the charybdis_model to crash.
id
charybdis_model
custom attribute panicked message: called `Result::unwrap()` on an `Err` value: Error("cannot parse string into token stream")
Let's say we have the following.
The semi-colon in the doc comment for
id
will cause thecharybdis_model
to crash.