Skip to content
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
@pwozniak1986

Description

@pwozniak1986

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions