Skip to content

Parser complains about unidentified type instead of type variant #725

@Namek

Description

@Namek

I have defined a type like so:

type Edge {
  Start
  Between
  End
}

But then I have wrongly referenced to Edge.Middle, and I got confused because the parser complains about the Edge to be not found. Instead, it should highlight that the Middle is an unknown variant in the Edge type.

Image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions