1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Have better output types on mutations

This commit is contained in:
Quentin Gliech
2023-04-25 16:12:20 +02:00
parent 3b0f2ea1b0
commit ed5c367df6
8 changed files with 647 additions and 173 deletions

View File

@@ -18,9 +18,9 @@ use async_graphql::MergedObject;
/// The mutations root of the GraphQL interface.
#[derive(Default, MergedObject)]
pub struct RootMutations(user_email::UserEmailMutations);
pub struct Mutation(user_email::UserEmailMutations);
impl RootMutations {
impl Mutation {
#[must_use]
pub fn new() -> Self {
Self::default()