Schema validation for query arguments have fields with same name · Issue #1806 · graphql-java/graphql-java · GitHub
Skip to content

Schema validation for query arguments have fields with same name #1806

Description

@rakeshdausa

I have an application based on graphql-java. In my case when I try to pass an argument with same name it will not fail and it works by keeping last value.
But according to graphql specification, duplicate field should not pass validation and throw a validation error.

https://spec.graphql.org/June2018/#sec-Input-Object-Field-Uniqueness

Metadata

Metadata

Assignees

No one assigned

    Labels

    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