Skip to content

Feature Request: Support for list elements #31

Closed
@pelletier197

Description

@pelletier197

It would be great to have support of validation for list items.

For instance with this query schema

            type Query {
                cars(targets: [String!]! @NotBlank) : [Car]
            }

The @NotBlank could validate that every element of the list is not blank. This applies indeed for all the validations, except maybe for the expression, which could still be useful to use on a full list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions