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

Setup GraphQL mutations to add and verify email addresses

This refactors a bit how the connection to the repository is done in the
graphql handler, so that we can properly commit transactions.
This commit is contained in:
Quentin Gliech
2023-04-20 18:03:08 +02:00
parent 1fbf60bf5d
commit be765fe04f
16 changed files with 746 additions and 322 deletions

View File

@ -122,7 +122,7 @@ impl Options {
watch_templates(&templates).await?;
}
let graphql_schema = mas_handlers::graphql_schema();
let graphql_schema = mas_handlers::graphql_schema(&pool);
// Maximum 50 outgoing HTTP requests at a time
let http_client_factory = HttpClientFactory::new(50);