We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e35ca4 commit 3b61293Copy full SHA for 3b61293
macros/src/lib.rs
@@ -28,6 +28,7 @@ pub fn derive_insertable(input: proc_macro::TokenStream) -> proc_macro::TokenStr
28
let table_struct = parse_table_struct(opts.table_struct);
29
30
let expanded = quote! {
31
+ #[::async_trait::async_trait]
32
#[automatically_derived]
33
impl Insertable<#number_of_fields> for #name {
34
type T = #table_struct;
@@ -76,6 +77,7 @@ pub fn derive_changeset(input: proc_macro::TokenStream) -> proc_macro::TokenStre
76
77
let primary_key_column = opts.primary_key.unwrap_or("id".into());
78
79
80
81
82
impl Changeset<#number_of_fields> for #name {
83
0 commit comments