1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-07 17:03:01 +03:00

Initial GraphQL API

This commit is contained in:
Quentin Gliech
2022-11-04 18:59:25 +01:00
parent 35e5a5a7a7
commit c13b0478e6
10 changed files with 518 additions and 9 deletions

View File

@@ -203,6 +203,8 @@ impl Options {
.context("could not watch for templates changes")?;
}
let graphql_schema = mas_handlers::graphql_schema(&pool);
let state = Arc::new(AppState {
pool,
templates,
@@ -212,6 +214,7 @@ impl Options {
mailer,
homeserver,
policy_factory,
graphql_schema,
});
let mut fd_manager = listenfd::ListenFd::from_env();