mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
chore: fmt
This commit is contained in:
@ -6,15 +6,14 @@ use std::{io, sync::Arc};
|
||||
|
||||
use actix_cors::Cors;
|
||||
use actix_web::{
|
||||
get, middleware, route,
|
||||
App, HttpResponse, HttpServer, Responder, get, middleware, route,
|
||||
web::{self, Data},
|
||||
App, HttpResponse, HttpServer, Responder,
|
||||
};
|
||||
use juniper::http::{graphiql::graphiql_source, GraphQLRequest};
|
||||
use juniper::http::{GraphQLRequest, graphiql::graphiql_source};
|
||||
|
||||
mod schema;
|
||||
|
||||
use crate::schema::{create_schema, Schema};
|
||||
use crate::schema::{Schema, create_schema};
|
||||
|
||||
/// GraphiQL playground UI
|
||||
#[get("/graphiql")]
|
||||
|
Reference in New Issue
Block a user