Relay stream pagination initial count spelling incompatibility
See original GitHub issueProduct
Hot Chocolate
Is your feature request related to a problem?
I want to use chilicream with relay on react using stream pagination but the stream argument initial_count
the requirement of relay is “initialCount” in chilicream and i am getting this error from server:
The argument initial_count
does not exist.
https://relay.dev/docs/guided-tour/list-data/streaming-pagination/
The solution you’d like
Is there any way to solve this on the client?
Issue Analytics
- State:
- Created 8 months ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
relay-compiler - @stream argument naming does not follow ...
Current compiler (not rust experimental) require for @stream argument ... Relay stream pagination initial count spelling incompatibility ...
Read more >Streaming Pagination
With streaming, this product could instead choose to fetch 5 items in the initial query with initial_count=2, in order to fetch the 2...
Read more >Connections & Pagination
In this section, we'll see how to handle collections of many items, including paginated lists and infinite scrolling. In Relay, paginated ...
Read more >Understanding pagination: REST, GraphQL, and Relay
The count field is actually just cosmetic and tells the UI where to count from for the post numbers on the left. Try...
Read more >Untitled
Best free steam open world games, Long sleeve fingerless gloves, San mateo río ... Original winnie the pooh rabbit, 220 grit grinding wheel,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The name of the directive argument is outdated in Relay. Hot Chocolate implements the latest spec iteration, while Relay is holding off on implementing the spec until it’s finalized. To my knowledge there’s nothing on the client side you can modify to make this work (besides forking and changing Relay). The following workaround might work best for you, if you must make it work right now: https://github.com/facebook/relay/issues/3619#issuecomment-958922898 Might be a bit outdated, but you should get the gist 😃
12.16