WIP
This commit is contained in:
parent
5f45671b74
commit
e3ce642226
5 changed files with 115 additions and 52 deletions
|
|
@ -12,7 +12,7 @@ pub fn derive_sql_generator_model(_input: TokenStream) -> TokenStream {
|
|||
TokenStream::new()
|
||||
}
|
||||
|
||||
#[proc_macro_derive(SqlGeneratorModelWithId, attributes(sql_generator_field))]
|
||||
#[proc_macro_derive(SqlGeneratorModelWithId)]
|
||||
pub fn derive_sql_generator_model_with_id(input: TokenStream) -> TokenStream {
|
||||
let input = parse_macro_input!(input as DeriveInput);
|
||||
let name = input.ident;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue