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:
@@ -26,9 +26,9 @@ use self::{upstream_oauth::UpstreamOAuthQuery, viewer::ViewerQuery};
|
||||
|
||||
/// The query root of the GraphQL interface.
|
||||
#[derive(Default, MergedObject)]
|
||||
pub struct RootQuery(BaseQuery, UpstreamOAuthQuery, ViewerQuery);
|
||||
pub struct Query(BaseQuery, UpstreamOAuthQuery, ViewerQuery);
|
||||
|
||||
impl RootQuery {
|
||||
impl Query {
|
||||
#[must_use]
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
|
||||
Reference in New Issue
Block a user