I'm trying to use GraphQL Flutter and I have the following code. This should be a very simple use case where I query a list of posts from my server. In this example I'm not displaying them, but I'm printing the result. Something very weird is happening because the build function runs indefinitely.
I'm trying to use GraphQL Flutter and I have the following code. This should be a very simple use case where I query a list of posts from my server. In this example I'm not displaying them, but I'm printing the result. Something very weird is happening because the build function runs indefinitely.
This is printing the following:
As you can see, the posts are returned correctly and no errors seems to be happening. I'm using the latest version of the libraries:
Do you have any idea why this is happening?