remane queries to query
This commit is contained in:
@@ -1 +0,0 @@
|
||||
pub mod benutzer;
|
||||
3
src/domain/benutzer/query.rs
Normal file
3
src/domain/benutzer/query.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
pub mod benutzer;
|
||||
|
||||
pub use benutzer::BenutzerQuery;
|
||||
@@ -1,6 +1,7 @@
|
||||
pub mod dataloader;
|
||||
pub mod entity;
|
||||
pub mod model;
|
||||
pub mod queries;
|
||||
pub mod mutation;
|
||||
pub mod query;
|
||||
pub mod repository;
|
||||
pub mod service;
|
||||
|
||||
3
src/domain/gruppe/mutation.rs
Normal file
3
src/domain/gruppe/mutation.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
pub mod gruppe;
|
||||
|
||||
pub use gruppe::GruppeMutation;
|
||||
@@ -1 +0,0 @@
|
||||
pub mod gruppe;
|
||||
3
src/domain/gruppe/query.rs
Normal file
3
src/domain/gruppe/query.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
pub mod gruppe;
|
||||
|
||||
pub use gruppe::GruppeQuery;
|
||||
@@ -1,6 +1,6 @@
|
||||
pub mod dataloader;
|
||||
pub mod entity;
|
||||
pub mod model;
|
||||
pub mod queries;
|
||||
pub mod query;
|
||||
pub mod repository;
|
||||
pub mod service;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
pub mod liegenschaft;
|
||||
3
src/domain/liegenschaft/query.rs
Normal file
3
src/domain/liegenschaft/query.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
pub mod liegenschaft;
|
||||
|
||||
pub use liegenschaft::LiegenschaftQuery;
|
||||
@@ -2,6 +2,6 @@ pub mod dataloader;
|
||||
pub mod entity;
|
||||
pub mod model;
|
||||
pub mod mutation;
|
||||
pub mod queries;
|
||||
pub mod query;
|
||||
pub mod repository;
|
||||
pub mod service;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
pub mod rolle;
|
||||
3
src/domain/rolle/query.rs
Normal file
3
src/domain/rolle/query.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
pub mod rolle;
|
||||
|
||||
pub use rolle::RolleQuery;
|
||||
@@ -2,6 +2,6 @@ pub mod dataloader;
|
||||
pub mod entity;
|
||||
pub mod model;
|
||||
pub mod mutation;
|
||||
pub mod queries;
|
||||
pub mod query;
|
||||
pub mod repository;
|
||||
pub mod service;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
pub mod typ;
|
||||
3
src/domain/typ/query.rs
Normal file
3
src/domain/typ/query.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
pub mod typ;
|
||||
|
||||
pub use typ::TypQuery;
|
||||
@@ -1,12 +1,13 @@
|
||||
// pub mod benutzer;
|
||||
pub mod gruppe;
|
||||
// pub mod hersteller;
|
||||
// pub mod modell;
|
||||
pub mod liegenschaft;
|
||||
|
||||
use async_graphql::MergedObject;
|
||||
|
||||
use crate::domain::{rolle::mutation::rolle, typ::mutation::TypMutation};
|
||||
use crate::domain::{
|
||||
gruppe::mutation::GruppeMutation, rolle::mutation::RolleMutation, typ::mutation::TypMutation,
|
||||
};
|
||||
|
||||
#[derive(MergedObject, Default)]
|
||||
pub struct Mutation(
|
||||
@@ -14,7 +15,7 @@ pub struct Mutation(
|
||||
// hersteller::HerstellerMutation,
|
||||
// modell::ModellMutation,
|
||||
// benutzer::BenutzerMutation,
|
||||
gruppe::GruppeMutation,
|
||||
rolle::RolleMutation,
|
||||
GruppeMutation,
|
||||
RolleMutation,
|
||||
liegenschaft::LiegenschaftMutation,
|
||||
);
|
||||
|
||||
@@ -1,20 +1,12 @@
|
||||
// pub mod hersteller;
|
||||
// pub mod modell;
|
||||
use crate::domain::{
|
||||
// benutzer::queries::benutzer,
|
||||
gruppe::queries::gruppe,
|
||||
liegenschaft::queries::liegenschaft,
|
||||
rolle::queries::rolle,
|
||||
typ::queries::typ::TypQuery,
|
||||
gruppe::query::GruppeQuery,
|
||||
liegenschaft::query::LiegenschaftQuery,
|
||||
rolle::query::RolleQuery,
|
||||
typ::query::TypQuery,
|
||||
};
|
||||
|
||||
use async_graphql::MergedObject;
|
||||
|
||||
#[derive(MergedObject, Default)]
|
||||
pub struct Query(
|
||||
TypQuery,
|
||||
// benutzer::BenutzerQuery,
|
||||
rolle::RolleQuery,
|
||||
gruppe::GruppeQuery,
|
||||
liegenschaft::LiegenschaftQuery, // modell::ModellQuery,
|
||||
);
|
||||
pub struct Query(TypQuery, RolleQuery, GruppeQuery, LiegenschaftQuery);
|
||||
|
||||
Reference in New Issue
Block a user