Skip to content

How to return an error only at one element of an array? #414

@marcosgmeli

Description

@marcosgmeli

Hi all, you have made a great work on the repo, thanks for it.

I am new at GraphQL but for what I understand from the specs if an element of an array can't be returned it should create an error, but unless the wrapped element is a nonNull, it should not null the entire list, what makes sense thinking on a best effort approach, and is a similar result to when a NonNull field of an element fails.

I think that is similar to be able to treat every element of an array as a field.

We have tried several ways but can't find the one to achieve this behavior, is it posible? the specs really support it?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions