Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser complains about unidentified type instead of type variant #725

Open
Namek opened this issue Jan 3, 2025 · 0 comments
Open

Parser complains about unidentified type instead of type variant #725

Namek opened this issue Jan 3, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Namek
Copy link
Contributor

Namek commented Jan 3, 2025

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
@gdotdesign gdotdesign added the enhancement New feature or request label Jan 3, 2025
@gdotdesign gdotdesign added this to the 0.22.0 milestone Jan 3, 2025
@gdotdesign gdotdesign self-assigned this Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants