Joystream / Joystream/joystream
QN: Replace GQL Playground
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
Joystream uses an [outdated](https://github.com/Joystream/graphql-playground/compare/main...graphql%3Agraphql-playground%3Amain) version of Graphql.
The [GraphQL Playground](https://github.com/graphql/graphql-playground) deployed by the QN graphql container hasn't had a release since 2019.
### Versions
../joystream/query-node/codegen/yarn.lock: type-graphql "^1.1.1"
../joystream/query-node/codegen/node_modules/type-graphql/package.json: "@apollo/federation": "^0.20.4",
../joystream/query-node/codegen/node_modules/type-graphql/package.json: "@apollo/gateway": "^0.21.0",
../joystream/query-node/codegen/node_modules/type-graphql/package.json: "apollo-cache-control": "^0.11.3",
../joystream/query-node/codegen/node_modules/type-graphql/package.json: "apollo-server": "^2.18.1",
../joystream/query-node/codegen/node_modules/type-graphql/package.json: "graphql": "^15.3.0"
../joystream/query-node/codegen/node_modules/type-graphql/package.json: "graphql-query-complexity": "^0.7.0",
../joystream/query-node/codegen/node_modules/type-graphql/package.json: "graphql-redis-subscriptions": "^2.3.1",
../joystream/query-node/codegen/node_modules/type-graphql/package.json: "graphql-tag": "^2.11.0",
../joystream/query-node/codegen/node_modules/type-graphql/package.json: "graphql-subscriptions": "^1.1.0",
../joystream/query-node/codegen/node_modules/type-graphql/package.json: "@graphql-modules/core": "^0.7.17",
## Alternatives
[Why Graphql?](https://github.com/Joystream/graphql-playground/blob/main/README.md#how-is-this-different-from-graphiql)
- [GraphIQL](https://github.com/graphql/graphiql) - [uses Monaco editor since v5](https://graphql.org/blog/2025-07-17-graphiql-5/) (July 2025)
- [GraphiQL.app](https://github.com/skevy/graphiql-app) is an Electron-based wrapper around GraphiQL which you can install as a Desktop app.
- [Yoga Server](https://the-guild.dev/graphql/yoga-server) ([Hive](https://the-guild.dev/graphql/hive)), example: https://query.l1.media
- [PostGraphile](https://www.graphile.org/postgraphile/)
## Tooltip regression
The editor has a visual bug that prevents tooltips from disappearing. User can remove them manually or operators can [patch](https://github.com/graphql/graphql-playground/compare/main...JoaoBGusmao:graphql-playground:main) the modules themselves (ref graphql/graphql-playground#1429).
> document.querySelectorAll('.CodeMirror-hint-information').forEach(node => node.remove());
Reason:
> Mutation Events, including DOMSubtreeModified, DOMNodeInserted, DOMNodeRemoved, DOMNodeRemovedFromDocument, DOMNodeInsertedIntoDocument, and DOMCharacterDataModified, are quite bad for page performance, and also significantly increase the complexity of adding new features to the Web. These APIs were deprecated from the spec ( ) in 2011, and were replaced (in 2012) by the much better-behaved Mutation Observer API. Usage of the obsolete Mutation Events must now be migrated to Mutation Observer.
> Mutation event support will be disabled by default starting in Chrome 127, around July 30, 2024. Code should be migrated before that date to avoid site breakage.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.