Skip to content

Commit e77d758

Browse files
authored
Patch GraphQL (#3911)
## Motivation GraphQL playground is not working (see async-graphql/async-graphql#1703) ## Proposal Patch it to a fork of async-graphql where `v7.0.2` is patched to use React18. ## Test Plan Tested locally and it works <img width="1443" alt="Screenshot 2025-05-08 at 13 16 42" src="https://github.com/user-attachments/assets/affb9123-2f4f-4aef-a7f8-d249b6f0c5fb" /> ## Release Plan <!-- If this PR targets the `main` branch, **keep the applicable lines** to indicate if you recommend the changes to be picked in release branches, SDKs, and hotfixes. This generally concerns only bug fixes. Note that altering the public protocol (e.g. transaction format, WASM syscalls) or storage formats requires a new deployment. --> - Nothing to do / These changes follow the usual release cycle. - These changes should be backported to the latest `devnet` branch, then - be released in a new SDK, - be released in a validator hotfix. - These changes should be backported to the latest `testnet` branch, then - be released in a new SDK, - be released in a validator hotfix. - Backporting is not possible but we may want to deploy a new `devnet` and release a new SDK soon. ## Links <!-- Optional section for related PRs, related issues, and other references. If needed, please create issues to track future improvements and link them here. --> - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
1 parent 48945d5 commit e77d758

File tree

2 files changed

+52
-11
lines changed

2 files changed

+52
-11
lines changed

Cargo.lock

Lines changed: 47 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,5 +283,10 @@ branch = "no-uuid-wasm-bindgen"
283283
git = "https://github.com/Twey/wasm_thread"
284284
branch = "post-message"
285285

286+
[patch.crates-io]
287+
async-graphql = { git = "https://github.com/deuszx/async-graphql", branch = "v7.0.2-react18" }
288+
async-graphql-axum = { git = "https://github.com/deuszx/async-graphql", branch = "v7.0.2-react18" }
289+
async-graphql-value = { git = "https://github.com/deuszx/async-graphql", branch = "v7.0.2-react18" }
290+
286291
[workspace.metadata.spellcheck]
287292
config = "spellcheck-cfg.toml"

0 commit comments

Comments
 (0)