-
-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
Is your feature request related to a problem? Please describe.
My API returns the nextPageParam
as meta.next
. Passing --nextPageParam meta.next
results in broken typescript generation as local variables don't support dots.
getNextPageParam: response => (response as { meta.next: number }).meta.next
Describe the solution you'd like
Support dots in the nextPageParam
name and traverse the response accordingly.
Describe alternatives you've considered
I'll have to manually define the infinite query in the meantime, utilizing the generated API client.
hanahemhanahem
Metadata
Metadata
Assignees
Labels
No labels