From 9e702ab9703272e5dc1f3e40469373a73a6ccaaf Mon Sep 17 00:00:00 2001 From: soyuka Date: Sun, 13 Sep 2026 09:39:42 +0200 Subject: [PATCH] docs: document routePriority and CSP nonces --- core/graphql.md | 18 ++++++++++ core/openapi.md | 39 +++++++++++++++++++++ core/operations.md | 84 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+) 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 `