question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve the `@defer` client side demo in supegraph fed 2 demo

See original GitHub issue

In the supergraph fed 2 demo we added code to allow someone to run a deferred query in a simple web app See PR 212 for instructions. This demo was based on my prototype app I built in this repo

Though when you run the demo you can’t see the deferred query side by side with the non-deferred query. Ideally we could allow someone to see the 2 types of queries side by side, similar to what is show in the PR https://github.com/apollographql/apollo-client/pull/10018

It be nice to see this

CleanShot 2022-08-22 at 08 51 38

but we now see this

Screen Shot 2022-09-02 at 5 12 57 PM

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
prasekcommented, Sep 2, 2022

@jpvajda for the purposes of the side-by-side demo (not something we’d recommend for general use), I updated the client demo to use a fetchPolicy: "no-cache" on PR 212 and it seems to work as we’d want it to. 👍

0reactions
jpvajdacommented, Sep 7, 2022

This is done now. so closing this one out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

apollographql/supergraph-demo-fed2: Demo for Federation 2
lightweight Rhai scripting to customize the stock Router image; more native functionality, now with @defer support! OpenTelemetry tracing and metrics; full ...
Read more >
Federation 2 quickstart - Apollo GraphQL Docs
It walks through creating a supergraph from scratch, along with federating an existing monolith graph. Our Federation 2 demo app on GitHub is...
Read more >
Preview Demo with Apollo Studio and Workbench - YouTube
Apollo Federation 2 is a new implementation of our query plan + gateway that introduces a more flexible model for composing types and...
Read more >
Untitled
Tumbadoras latin percussion, 24 hp side shaft motor, Hemmeligheter sitat, ... Nord electro 2 demo, Alive exe download, Congratulations on your baby girl ......
Read more >
Ubuntu Manpage: gcc - GNU project C and C++ compiler
It has two secondary locations, describing the left and right-hand sides of ... For example, this diagnostic with a replacement fix-it hint: demo.c:8:15: ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found