This repository was archived by the owner on Dec 25, 2022. It is now read-only.
This repository was archived by the owner on Dec 25, 2022. It is now read-only.
Getting only first element from array #15
Open
Description
With the data simillar to the one from manual:
const exampleDataFromApi = [ { url: "post-1", author: "John doe" }, { url: "post-2", author: "Jane Doe" } ];
and following schema:
schemas: { posts: url: String author: String }
with a following query:
query MyQuery { posts { url author } }
I'm getting only the first element not the whole array.