diff --git a/core/graphql.md b/core/graphql.md index 3f3ec4df768..74b141c7dd7 100644 --- a/core/graphql.md +++ b/core/graphql.md @@ -128,6 +128,24 @@ Route::post('/docs/graphiql', GraphiQlAction::class) ->name('graphiql'); ``` +### Serving GraphiQL Under a Content Security Policy + +> [!NOTE] This feature is only available with Symfony. Laravel's GraphiQL page is served from its +> own Blade template and controller, which this feature doesn't cover yet. You're welcome to +> contribute the Laravel implementation [on GitHub](https://github.com/api-platform/core). + +GraphiQL renders its data and loads its scripts through several inline and external `