Describe the bug
When a paginated fragment is spread on a query annotated with @loading, the paginated query will get a node id of PendingValue, and cannot be fetched. This results in the paginated fragment not showing up on the page.
In order to make it work as expected, a workaround is to wrap the component with an if-check to only render it when @loading is finished.
I wonder if we can fix this so that the if check is not necessary.
Demo of the bug:
https://youtu.be/Wilvm7t_5Ss
Reproduction
https://github.com/SeppahBaws/houdini/tree/repro/paginated-fragment-at-loading/e2e/kit/src/routes/bug/paginated-fragment-at-loading
Describe the bug
When a paginated fragment is spread on a query annotated with
@loading, the paginated query will get a node id ofPendingValue, and cannot be fetched. This results in the paginated fragment not showing up on the page.In order to make it work as expected, a workaround is to wrap the component with an if-check to only render it when
@loadingis finished.I wonder if we can fix this so that the if check is not necessary.
Demo of the bug:
https://youtu.be/Wilvm7t_5Ss
Reproduction
https://github.com/SeppahBaws/houdini/tree/repro/paginated-fragment-at-loading/e2e/kit/src/routes/bug/paginated-fragment-at-loading