Closed
Description
SelectedValue ::
Path
SelectedObjectValue
Path . SelectedObjectValue
SelectedValue | SelectedValue
A SelectedValue
of, for example, field.{ a }
will begin parsing as a Path
due to the Name
token. After the period in a PathSegment
, another PathSegment
is required, but the next token will instead be a LeftBrace
token.
Expected a
Name
-token, but found aLeftBrace
-token.
Should we perform a negative lookahead when parsing a PathSegment
, so that the period isn't consumed when followed by a left brace, or is there another solution here?
Metadata
Assignees
Labels
No labels