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 dataloader;
|
||||||
pub mod entity;
|
pub mod entity;
|
||||||
pub mod model;
|
pub mod model;
|
||||||
pub mod queries;
|
pub mod mutation;
|
||||||
|
pub mod query;
|
||||||
pub mod repository;
|
pub mod repository;
|
||||||
pub mod service;
|
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 dataloader;
|
||||||
pub mod entity;
|
pub mod entity;
|
||||||
pub mod model;
|
pub mod model;
|
||||||
pub mod queries;
|
pub mod query;
|
||||||
pub mod repository;
|
pub mod repository;
|
||||||
pub mod service;
|
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 entity;
|
||||||
pub mod model;
|
pub mod model;
|
||||||
pub mod mutation;
|
pub mod mutation;
|
||||||
pub mod queries;
|
pub mod query;
|
||||||
pub mod repository;
|
pub mod repository;
|
||||||
pub mod service;
|
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 entity;
|
||||||
pub mod model;
|
pub mod model;
|
||||||
pub mod mutation;
|
pub mod mutation;
|
||||||
pub mod queries;
|
pub mod query;
|
||||||
pub mod repository;
|
pub mod repository;
|
||||||
pub mod service;
|
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 benutzer;
|
||||||
pub mod gruppe;
|
|
||||||
// pub mod hersteller;
|
// pub mod hersteller;
|
||||||
// pub mod modell;
|
// pub mod modell;
|
||||||
pub mod liegenschaft;
|
pub mod liegenschaft;
|
||||||
|
|
||||||
use async_graphql::MergedObject;
|
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)]
|
#[derive(MergedObject, Default)]
|
||||||
pub struct Mutation(
|
pub struct Mutation(
|
||||||
@@ -14,7 +15,7 @@ pub struct Mutation(
|
|||||||
// hersteller::HerstellerMutation,
|
// hersteller::HerstellerMutation,
|
||||||
// modell::ModellMutation,
|
// modell::ModellMutation,
|
||||||
// benutzer::BenutzerMutation,
|
// benutzer::BenutzerMutation,
|
||||||
gruppe::GruppeMutation,
|
GruppeMutation,
|
||||||
rolle::RolleMutation,
|
RolleMutation,
|
||||||
liegenschaft::LiegenschaftMutation,
|
liegenschaft::LiegenschaftMutation,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,20 +1,12 @@
|
|||||||
// pub mod hersteller;
|
|
||||||
// pub mod modell;
|
|
||||||
use crate::domain::{
|
use crate::domain::{
|
||||||
// benutzer::queries::benutzer,
|
// benutzer::queries::benutzer,
|
||||||
gruppe::queries::gruppe,
|
gruppe::query::GruppeQuery,
|
||||||
liegenschaft::queries::liegenschaft,
|
liegenschaft::query::LiegenschaftQuery,
|
||||||
rolle::queries::rolle,
|
rolle::query::RolleQuery,
|
||||||
typ::queries::typ::TypQuery,
|
typ::query::TypQuery,
|
||||||
};
|
};
|
||||||
|
|
||||||
use async_graphql::MergedObject;
|
use async_graphql::MergedObject;
|
||||||
|
|
||||||
#[derive(MergedObject, Default)]
|
#[derive(MergedObject, Default)]
|
||||||
pub struct Query(
|
pub struct Query(TypQuery, RolleQuery, GruppeQuery, LiegenschaftQuery);
|
||||||
TypQuery,
|
|
||||||
// benutzer::BenutzerQuery,
|
|
||||||
rolle::RolleQuery,
|
|
||||||
gruppe::GruppeQuery,
|
|
||||||
liegenschaft::LiegenschaftQuery, // modell::ModellQuery,
|
|
||||||
);
|
|
||||||
|
|||||||
Reference in New Issue
Block a user