graphql-platform icon indicating copy to clipboard operation
graphql-platform copied to clipboard

When using aliases with incorrect field names, red squiggly is anchored on the alias, not the field name

Open cmeeren opened this issue 11 months ago • 1 comments

Product

Banana Cake Pop

Version

Latest from CDN

Link to minimal reproduction

See below

Steps to reproduce

Hopefully trivial: If you use aliases, but the field name is incorrect, then the highlighting is placed on the alias (with the same length as the incorrect field name). Below, the id field exists, but id2 does not.

image

Mouseover in case it clarifies anything:

image

What is expected?

The red squiggly appears below the incorrect field name (id2 above).

What is actually happening?

The red squiggly appears below the alias, with length corresponding to the incorrect field name (the first 3 characters of myAlias above).

Relevant log output

No response

Additional context

No response

cmeeren avatar Mar 07 '24 14:03 cmeeren

Thanks for reporting. I will take a look.

rstaib avatar Mar 08 '24 06:03 rstaib

This is mistakenly labelled Area: F#. This is related to Banana Cake Pop.

cmeeren avatar May 15 '24 07:05 cmeeren