Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usability Bugs due to use of deprecated Apollo Graphql Playground #3458

Open
2 of 4 tasks
zackdotcomputer opened this issue Jan 24, 2025 · 0 comments
Open
2 of 4 tasks

Comments

@zackdotcomputer
Copy link

zackdotcomputer commented Jan 24, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When using the deprecated Apollo Graphql Playground included in the @nestjs/apollo package on a modern browser, you now get graphical errors which hamper the usability of the playground. Whenever a type hint is shown while editing a call, the hint will never get dismissed because the event it is listening for is no longer sent:

Image

Minimum reproduction code

https://github.com/nestjs/nest/tree/master/sample/12-graphql-schema-first

Steps to reproduce

  1. Download the NestJS Graphql sample
  2. Set it up and start it
  3. Connect to the playground at /graphql
  4. Write a query command
  5. Observe the type tooltips do not go away

Expected behavior

The type tooltips should go away.

Package version

13.0.2

Graphql version

graphql: 16.10.0
@apollo/server: 4.11.3

NestJS version

11.0.1

Node.js version

22.13.1

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

I've seen multiple PRs asking for this package to be removed because of its officially deprecated status #3255 #2972, and there is an open PR from 2023 to remove it in favor of the Playground included with the Apollo Server: #2973.

As this has now escalated from the point of being a simple deprecation conversation to a functional bug preventing the tool from working as intended, I think it might merit updating and merging in that PR, even at the cost of a breaking change and the less pleasant Apollo Studio as it exists today. Either that, or swapping the default Apollo plugin over to use GraphiQL.

(For the record - I have confirmed locally that the changes in PR #2973 do resolve this issue. On the latest Apollo studio, this bug is no longer present.)

@zackdotcomputer zackdotcomputer changed the title Bugs and Graphical Errors in deprecated Apollo Graphql Playground Usability Bugs due to use of deprecated Apollo Graphql Playground Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant