title: GQL not returning results
body: <p>I'm practicing GQL, I've issue while displaying the data in <code>Playground</code>.</p>
  
  <p>I trying to hit the jsonplaceholder api, to retrieve all posts and display them but it throws the following error. </p>
  
  <pre><code>error: GRAPHQL_FORMAT_ERROR: Expected Iterable, but did not find one for field Query.allPosts.
  </code></pre>
  
  <p><strong>Request:</strong></p>
  
  <pre><code>{
    allPosts {
      id
    }
  }
  </code></pre>
  
  <p><strong>Response</strong></p>
  
  <pre><code>{
        "errors": [
          {
            "extensions": {
              "code": "400"
            }
          }
        ],
        "data": {
          "allPosts": null
        }
      }
  </code></pre>
  
  <p>Below is my Schema <code>Posts.graphql</code></p>
  
  <pre><code>#Description of Post
  
  type Post {
    userId: Int
    id: Int
    title: String
    body: String
  }
  </code></pre>
  
  <p><strong>query.graphql</strong></p>
  
  <pre><code>type Query {
    dangerousGoods: DangerousGoodsCIO
    allCourses: [Course]
    course(id: Int!): Course
    allPosts: [Post]
  }
  </code></pre>
  
  <p><strong>query.ts</strong></p>
  
  <pre><code>export const Query: QueryResolvers.Resolvers = {
    async allPosts(_, _args, { injector }: ModuleContext) {
      const response = await injector.get(Api).getAllPosts();
  
      return response.body;
    }
  };
  </code></pre>
  
  <p><strong>api.ts</strong></p>
  
  <pre><code> getAllPosts() {
      const config = {
        uri: `https://jsonplaceholder.typicode.com/posts`,
        method: 'GET'
      };
      return this.request({ config, log: 'getAllPosts' })
      .then(response =&gt; {
        const allPost = response.json();
        return allPost;
      });
    }
  </code></pre>
  
  <p><strong>Note:</strong> I could able to see the results if I mock the response like below.</p>
  
  <p>So if I hardcode the post data, then it works as expected, but not working when I hit from the API. </p>
  
  <p>Please tell me what im doing wrong over here.</p>
  
  <pre><code>public postsData = [...]
  
    getAllPosts () {
      return this.postsData;
    }
  </code></pre>