refactor Ulid und Dataloader
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
use crate::scalar::Id;
|
||||
use async_graphql::InputObject;
|
||||
|
||||
use crate::scalar::Ulid;
|
||||
|
||||
#[derive(InputObject)]
|
||||
pub struct BenutzerCreateInput {
|
||||
// #[graphql(validator(min_length = 6, max_length = 8))]
|
||||
pub kennung: String,
|
||||
pub vorname: String,
|
||||
pub nachname: String,
|
||||
pub rollen: Option<Vec<Id>>,
|
||||
pub gruppen: Option<Vec<Id>>,
|
||||
pub rollen: Option<Vec<Ulid>>,
|
||||
pub gruppen: Option<Vec<Ulid>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user