(schema: State<AppSchema>, req: GraphQLRequest)
| 17 | use dotenvy::dotenv; |
| 18 | |
| 19 | async fn graphql_handler(schema: State<AppSchema>, req: GraphQLRequest) -> GraphQLResponse { |
| 20 | schema.execute(req.into_inner()).await.into() |
| 21 | } |
| 22 | |
| 23 | async fn graphql_playground() -> impl IntoResponse { |
| 24 | Html(playground_source(GraphQLPlaygroundConfig::new( |
nothing calls this directly
no test coverage detected