Skip to content

Enum values are incorrectly marked as deprecated #171

@symm

Description

@symm

Steps to reproduce:

  1. Create a schema containing an enum using AbstractEnumType
  2. Do an introspection query using e.g. get-graphql-schema
  3. The enum values are incorrectly reported as @deprecated because the deprecationReason defaults to an empty string instead of null

screen shot 2017-08-15 at 09 33 58

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions