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

fix: initial request cache set, import tsc bugs #1266

Merged
merged 2 commits into from
Jan 26, 2020

Conversation

acao
Copy link
Member

@acao acao commented Jan 26, 2020

  • handleDidOpenOrSaveNotification didn't have all param types factored in, leading to retrieving textDocument.text from the wrong place
  • by fixing this, the cache is set properly. before, after typescript conversion, initial file cache was not set, only on a valid change would cache set
  • fix how imports of node modules happen so that the tsc compiler is happy
  • fix prepublish so that it doesnt run the whole shebang on every yarn or yarn add
  • switch to github actions

@acao acao force-pushed the fix/initial-document-cache branch from 0ac8a95 to d3b65a5 Compare January 26, 2020 02:59
@codecov
Copy link

codecov bot commented Jan 26, 2020

Codecov Report

Merging #1266 into master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1266      +/-   ##
==========================================
+ Coverage   60.81%   60.87%   +0.06%     
==========================================
  Files          75       75              
  Lines        3435     3433       -2     
  Branches      662      662              
==========================================
+ Hits         2089     2090       +1     
+ Misses       1208     1205       -3     
  Partials      138      138
Impacted Files Coverage Δ
...ql-language-service-server/src/MessageProcessor.ts 61.68% <100%> (+1.03%) ⬆️
...ages/graphql-language-service-server/src/Logger.ts 21.73% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bcb2753...ed47d88. Read the comment docs.

- `handleDidOpenOrSaveNotification` didn't have all param types factored in, leading to retrieving textDocument.text from the wrong place
- by fixing this, the cache is set properly. before, after typescript conversion, initial file cache was not set, only on a valid change would cache set
- fix how imports of node modules happen so that the tsc compiler is happy
- fix prepublish so that it doesnt run the whole shebang on every `yarn` or `yarn add`
- add CI for
@acao acao force-pushed the fix/initial-document-cache branch 12 times, most recently from 255e690 to 64ef6a3 Compare January 26, 2020 04:42
@acao acao force-pushed the fix/initial-document-cache branch from 64ef6a3 to 6a43646 Compare January 26, 2020 05:37
@acao acao merged commit 6b98f8a into master Jan 26, 2020
@acao acao deleted the fix/initial-document-cache branch January 28, 2020 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant