-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[typescript react-query] unused pageParamKey
when calling useInfiniteQuery
.
#174
Comments
Any intention to fix this or should I create a PR? The infinite query does not work correctly if it isn't passing the page param to the correct variable. Plus, even if you write a temporary solution, the generator overwrites the fix anytime you update your api and need to regenerate the hooks. |
@EandrewJones go for it! Would love to review and land it in :) |
Great -- will look to push something in the coming week or two.
Best
Evan Jones
Website: www.ea-jones.com
…On Sun, Oct 16, 2022 at 10:52 AM Saihajpreet Singh ***@***.***> wrote:
@EandrewJones <https://github.com/EandrewJones> go for it! Would love to
review and land it in :)
—
Reply to this email directly, view it on GitHub
<#174>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ2T6AKUYIEJSUNZNUCLH63WDQJCNANCNFSM5OR5NJPA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@saihaj Will you please assign me the issue? |
Co-authored-by: Charly POLY <1252066+charlypoly@users.noreply.github.com>
* fixes issue #7549 * update dev-test types #7549 * Create sweet-nails-tie.md * fix breaking change in #8566; optionally pass metaData.pageParam to pageParamKey only when it is defined Co-authored-by: Charly POLY <1252066+charlypoly@users.noreply.github.com>
Did this change get lost? I'm on 4.1.0 and this still happens |
yah same - wondering what this is? |
Yes same here, I have now this unused param |
also having this issue, seems something was reverted |
Same here |
also same 😢 |
Seems like the fix was reverted here (#25) due to another bug |
still same ... |
@happyso you are facing issue in |
Describe the bug
Unused
pageParamKey
in file https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/react-query/src/fetcher-graphql-request.tsI think this:
should be change to:
The text was updated successfully, but these errors were encountered: