test(sandbox): add repository testing
This commit is contained in:
parent
3d93beb5bd
commit
bbec0fc3bf
15 changed files with 545 additions and 124 deletions
|
|
@ -235,7 +235,6 @@ fn generate_repository_file(model: &Model) -> Result<SourceNodeContainer> {
|
|||
let base_repository_code: TokenStream = quote! {
|
||||
use crate::models::#resource_module_ident::#resource_ident;
|
||||
use crate::db::Database;
|
||||
use anyhow::{Result, Context};
|
||||
|
||||
pub struct #repository_ident {
|
||||
db: Database
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue