microsoft / microsoft/TypeScript

Harden response delivery to ensure services is consistent with server

Aperta
#44,260 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@orta ci sta già lavorando.

Dal 7/6/2021.

Domain: LS: TSServer Infrastructure Rescheduled
Lingua principale
Go
Stelle
111k
Fork
14.3k
Merge medio
2g 4h
PR unite (30g)
132

Descrizione

Spoke with @andrewbranch

If you [add] a member to any protocol.*Response, there's a significant chance that your fourslash tests [will] work but it [won't] actually work over the TS Server because session.ts picked apart the response in the process of converting positions to line/character and didn't know to put it back

How could we fix it?

Destructuring with an object rest instead of requiring session.ts to name every property it wants to preserve

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.