-
-
Notifications
You must be signed in to change notification settings - Fork 500
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior
GraphQL IDE
Actual Behavior
White screen with errors in the javascript console
Steps to Reproduce the Problem
// AXUM
async fn graphiql() -> impl IntoResponse {
response::Html(GraphiQLSource::build().endpoint("/").finish())
}
...
// app router
let app = Router::new().route("/", get(graphiql).post_service(GraphQL::new(schema)));
// Variant with very_pemissive() CORS does not work too
let app = Router::new()
.route("/", get(graphiql).post_service(GraphQL::new(schema)))
.layer(CorsLayer::very_permissive());
Specifications
- Version: 7.0.16
- Platform: Mac OS
- Subsystem: GraphiQLSource
full source fo reproduce the problem and screenshoot of the problem in the attachment

Full errors screen:

Joatin, tylerhawkes and IgnisDa
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working