You've already forked authentication-service
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user