This commit is contained in:
41666 2022-11-27 22:20:25 -05:00
parent f5f96e35d8
commit 07b3af9166
5 changed files with 11 additions and 155 deletions

View file

@ -1,5 +1,3 @@
use std::any::Any;
use async_graphql::{Context, Enum, Object};
use axum::{http::StatusCode, response::IntoResponse, Extension, Json};
use redis::{aio::MultiplexedConnection, pipe};

View file

@ -6,7 +6,6 @@ mod vehicles;
mod world;
use async_graphql::{
extensions::ApolloTracing,
http::{playground_source, GraphQLPlaygroundConfig},
EmptyMutation, EmptySubscription, Request, Response, Schema,
};
@ -68,7 +67,6 @@ async fn main() {
let schema = Schema::build(query::Query, EmptyMutation, EmptySubscription)
.data(redis.clone())
.extension(ApolloTracing)
.finish();
let app = Router::new()