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
My issue is that the types generated by graphql-codegen only include the fields inside data. Is there any way to access extensions? As you can see, it contains the number of all results, which is needed for pagination (so I'll use it inside getNextPageParam like below)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here's what my returned GQL data looks like:
My issue is that the types generated by
graphql-codegen
only include the fields insidedata
. Is there any way to accessextensions
? As you can see, it contains the number of all results, which is needed for pagination (so I'll use it insidegetNextPageParam
like below)Here's my config:
Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions