You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional info
If the issue is related to how the API and schema are constructed and isn't fixable through the codegen tool, is there a way to customize the generation of infinite queries to my custom-cut situation?
The text was updated successfully, but these errors were encountered:
It seems that the error occurs when the parameter specified in pageParam is set as required. As a temporary workaround, you can avoid the issue by setting required: false. I will also look into a fix.
Describe the bug
The codegen tool works wonder. I've been just having a hard time generating working infinite queries.
Am I missing something on how I'm naming my
pageParam
andnextPageParam
?Expected behavior
From the OpenAPI spec I'd expect to have such an infinite query:
But I get this from the codegen:
OpenAPI spec file
Here are bits of my openapi spec file, I'm trying to use the /stuff endpoint, I only kept what's necessary here.
Additional info
If the issue is related to how the API and schema are constructed and isn't fixable through the codegen tool, is there a way to customize the generation of infinite queries to my custom-cut situation?
The text was updated successfully, but these errors were encountered: