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.

Support for Relay Modern

See original GitHub issue

I’ve tried to use the Relay Modern pagination container, but it is not possible since in the API PageInfo scheme is missing the endCursor and startCursor fields… Any plan to add these to the Storefront API any time soon?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
swalkinshawcommented, Jul 14, 2017

If/when the official Relay spec is updated to include those fields, we’ll add them as well.

I think it would be awesome if you could provide a working example of pagination with Relay Modern in this repo.

That isn’t possible unless they remove the requirement of those fields right?

I’ll leave this issue open to track the status of Relay.

0reactions
0xHexEcommented, Aug 12, 2021

Hi Everyone,

I think now startCursor and endCursor is required. I am using relay version 11.0.2. And I am getting the following error.

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

New in Relay Modern
The Relay Modern Core adds support for client schema extensions. These allow Relay to conveniently store some extra information with data fetched from...
Read more >
Relay Modern: Simpler, faster, more extensible
Relay is our JavaScript framework for building data-driven applications. It combines React for composable user interfaces and GraphQL for ...
Read more >
Exploring GraphQL Relay – Modern vs. Classic
GraphQL is an incredible API technology that lets consumers describe their data requirements with a simple, declarative query language.
Read more >
Relay Modern Network Layer with middlewares ... - GitHub
The ReactRelayNetworkModern is a Network Layer for Relay Modern with various middlewares which can manipulate requests/responses on the fly (change auth ...
Read more >
Support for Relay Modern - Discuss Dgraph
When I have used a service in the past (eg Hasura) they produce a relay compliant endpoint for you to use. You still...
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