Skip to content

Fix parsing of the descriptions of the enum values when using GraphQL schema file #612

@ste93cry

Description

@ste93cry
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Version/Branch 0.11

While looking at the documentation using the GraphiQL tool I found out that the descriptions of the enum values were missing. The bug is that while converting the AST of a .graphql schema file to the PHP type definitions the value is taken from the GraphQL\Language\AST\EnumTypeDefinitionNode node instead of the GraphQL\Language\AST\EnumValueNode node. The referenced PR fixes it.

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