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

[Idea] Automatically enable load from cache in explorer if query contains client-only fields #1393

Open
alessbell opened this issue May 29, 2024 · 1 comment

Comments

@alessbell
Copy link
Contributor

CleanShot 2024-05-29 at 15 53 28

The experience of running queries with client-only fields in embedded explorer has some room for improvement:

  • field triggers a red squiggle because we're dealing with the introspected schema
  • client-only fields can only be fetched from the cache, so by default they won't appear in the response unless you see and then tick the 'load from cache' checkbox

An easy win might just be automatically enabling 'load from cache' for queries with these fields, but there's a tradeoff with potentially stale data being returned for other fields which may not be acceptable if the user is expecting it to hit the network.

Happy to eventually move this issue elsewhere but tracking it here for now.

@jerelmiller
Copy link
Member

Possibly related #477

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants