Open dabuchera opened 1 year ago
Solution here.
https://relay.dev/docs/api-reference/use-refetchable-fragment/
The @refetchable directive can only be added to fragments that are "refetchable", that is, on fragments that are declared on Viewer or Query types, or on a type that implements Node (i.e. a type that has an id).
Therefore composedb has to support this directive.
Didn't manage to make it work neither
Thanks for trying. Let's see if it works when more directives are supported.
Hi Léo
Sorry for asking again smth. Running into the following challenge. I want to use the
usePaginationFragment
from react-relay. For that the type has toimplements Node
. Similar to your runtime schema theMYTYPEConnection
is not working with@refetchable
since notimplements Node
Do you have any idea how to solve that? Is there a possibility to do that in the basic model?
In detail my component looks like that: