Skip to content

Updated client registration handler to behave more like the vscode #457

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

Merged
merged 5 commits into from
Dec 5, 2020

Conversation

david-driscoll
Copy link
Member

Updated client registration handler to behave more like the vscode one, unknown handlers will throw.

Also fixed bug where some handlers were export their registration options when they shouldn't be. This was introduced with the latest refactor.

@github-actions github-actions bot added this to the v0.19.0 milestone Dec 5, 2020
@david-driscoll david-driscoll added merge Shipit! bug Something isn't working labels Dec 5, 2020
@codecov
Copy link

codecov bot commented Dec 5, 2020

Codecov Report

Merging #457 (b60a353) into master (6354163) will decrease coverage by 0.13%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #457      +/-   ##
==========================================
- Coverage   71.60%   71.46%   -0.14%     
==========================================
  Files         251      251              
  Lines       11908    11892      -16     
  Branches      813      806       -7     
==========================================
- Hits         8527     8499      -28     
- Misses       3381     3393      +12     
Impacted Files Coverage Δ
....Generators/Strategies/HandlerGeneratorStrategy.cs 14.51% <ø> (ø)
src/JsonRpc/InputHandler.cs 88.02% <ø> (-1.03%) ⬇️
src/JsonRpc/OutputHandler.cs 98.50% <ø> (-0.03%) ⬇️
src/Client/LanguageClientRegistrationManager.cs 62.85% <100.00%> (-3.81%) ⬇️
src/Server/LanguageServerHelpers.cs 91.53% <100.00%> (+2.02%) ⬆️
src/Shared/SharedHandlerCollection.cs 80.97% <100.00%> (+0.07%) ⬆️
src/JsonRpc/Server/Messages/ParseError.cs 50.00% <0.00%> (-50.00%) ⬇️
src/JsonRpc/CompositeHandlersManager.cs 84.61% <0.00%> (-12.83%) ⬇️
src/JsonRpc/InterimJsonRpcServerRegistry.cs 39.47% <0.00%> (-10.53%) ⬇️
src/Shared/LspRequestRouter.cs 98.03% <0.00%> (-1.97%) ⬇️
... and 2 more

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 6354163...b60a353. Read the comment docs.

@mergify mergify bot merged commit 60ebb3a into master Dec 5, 2020
@mergify mergify bot removed the merge Shipit! label Dec 5, 2020
@mergify mergify bot deleted the fix/refactor-bugs branch December 5, 2020 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant