apollographql / apollographql/apollo-tooling

Errors appear on the wrong line

Open
#1,918 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

**Intended outcome:**
Error underlines appear on the correct lines.

**Actual outcome:**
Error underlines appear on the wrong lines.

**How to reproduce the issue:**
The issue can be experienced in the following file: https://github.com/ParabolInc/parabol/blob/v5.5.0/packages/client/subscriptions/MeetingSubscription.ts
![image](https://user-images.githubusercontent.com/1417838/80430004-00abbd00-88b3-11ea-88ec-b22c5f0b0ac4.png)

**Versions**
Apollo GraphQL 11.15.31

Contributor guide

Open the contributing guide

Research direction

Open packages/client/subscriptions/MeetingSubscription.ts and reproduce the misplaced error underlines shown in the linked screenshot. Start by comparing the reported line locations with the source file and Apollo GraphQL 11.15.31 behavior. Done means errors in this file are underlined on their correct source lines.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.