Hey guys, I need some help with understanding what is going on.
Let say I have 2 queries on the same type Channel:
query GetChannel {
channel {
id
title
description
}
}
query GetChannelVideos($cursor: String!) {
channel {
videos(cursor: $cursor) {
cursor
entities {
title
description
}
}
}
}
If I call only GetChannel
everything ok, it is being cached properly.
But If I call GetChannel
and then GetChannelVideos
- I got GetChannel
is calling second time in the end.
I want to fetch channel data only 1 time, cache it and forget. And then only fetch more videos using pagination api. How can I achieve this?
Please help, thanks!