Skip to content

Introspection on default value for input object is not following GraphQL spec #296

@nex-ray

Description

@nex-ray

I defined an input object with a HashMap as default value. Introspection on the default value gives the toString() value of the HashMap (see graphql.introspection#__InputValue). However, GraphQL specification requires the string to be encoded using GraphQL language.

As a result, GraphiQL would fail because of the incorrect introspection result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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