Repository navigation
chore(deps): update GraphiQL to 6 - #789
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 12 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #789 +/- ##
=======================================
Coverage 85.26% 85.26%
=======================================
Files 148 148
Lines 5082 5082
Branches 886 886
=======================================
Hits 4333 4333
Misses 448 448
Partials 301 301 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
All reported issues were addressed across 1 file
Architecture diagram
sequenceDiagram
participant Browser
participant ESM as esm.sh CDN
participant GraphQL as GraphQL Endpoint
Note over Browser: GraphiQL 6 Playground Page<br/>served by KGraphQL Ktor
Browser->>Browser: Load playground.html
Note over Browser: New loading screen with animated spinner<br/>and GraphQL logo (respects prefers-reduced-motion)
Browser->>ESM: Fetch importmap dependencies<br/>(React 19.3, ReactDOM 19.3,<br/>GraphiQL 6.0.1, @graphiql/react 1.0.2,<br/>@graphiql/toolkit 1.0.1, GraphQL 17.1)
ESM-->>Browser: JS modules with SRI integrity hashes
Browser->>Browser: Init GraphiQL 6
Browser->>ESM: Import graphiql/setup-workers/esm.sh
ESM-->>Browser: Worker setup module
Note over Browser: NEW: createTransport() replaces<br/>createGraphiQLFetcher() - new transport API in 6.0
Browser->>Browser: Create transport via createTransport({ url: '' })
Note over Browser: explorerPlugin and HISTORY_PLUGIN removed<br/>- not included in GraphiQL 6 core
Browser->>GraphQL: GraphQL requests via empty URL transport<br/>(same-origin requests)
GraphQL-->>Browser: GraphQL responses
alt GraphQL request fails
Browser->>Browser: Show error in GraphiQL UI
end
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
No description provided.