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.

Relay stream pagination initial count spelling incompatibility

See original GitHub issue

Product

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:closed
  • Created 8 months ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
tobias-tenglercommented, Jan 22, 2023

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 😃

0reactions
amirHosseinKhademiicommented, Jan 29, 2023

12.16

    <PackageReference Include="BCrypt.Net-Next" Version="4.0.3" />
    <PackageReference Include="HotChocolate.AspNetCore" Version="12.16.0" />
    <PackageReference Include="HotChocolate.AspNetCore.Authorization" Version="12.16.0" />
    <PackageReference Include="HotChocolate.Subscriptions.Redis" Version="12.16.0" />
    <PackageReference Include="HotChocolate.Data.MongoDb" Version="12.16.0" />
    <PackageReference Include="MongoDB.Driver" Version="2.16.0" />
    <PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.10" />
    <PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.24.0" />
    <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.24.0" />
Read more comments on GitHub >

github_iconTop 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 >

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