Skip to content

Porting over the minor breaking changes from the nullablity branch to be included in 0.18 #335

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 1 commit into from
Aug 26, 2020

Conversation

david-driscoll
Copy link
Member

This does not turn on nullability in anyway just introduces be basic building blocks

  • EmptyRequest was not longer used (and it's usage was confusing)
  • IJsonRpcNotificationHandler has been removed (no longer needed with delegating handlers)
  • IPartialItemsRequest<> has been removed (IPartialItemsRequest<,> still exists) as it was causing issues with setting proper nullability of partial request items, as it was just a convenience interface anyway.
  • IResponseRouter.GetRequest Removed - Routers are mainly internal bits and having the tuple return type caused nullability issues.
  • IResponseRouter.TryGetRequest Added - has the proper nullable notations so nullability just flows through.

@github-actions github-actions bot added this to the v0.18.0 milestone Aug 26, 2020
@codecov
Copy link

codecov bot commented Aug 26, 2020

Codecov Report

Merging #335 into master will decrease coverage by 5.09%.
The diff coverage is 63.63%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #335      +/-   ##
==========================================
- Coverage   75.21%   70.11%   -5.10%     
==========================================
  Files         420      421       +1     
  Lines       12249    12269      +20     
  Branches     1112     1127      +15     
==========================================
- Hits         9213     8603     -610     
- Misses       3036     3249     +213     
- Partials        0      417     +417     
Impacted Files Coverage Δ
src/Client/LanguageClient.cs 95.45% <0.00%> (-1.95%) ⬇️
src/JsonRpc/HandlerTypeDescriptorProvider.cs 86.48% <ø> (-2.80%) ⬇️
src/JsonRpc/JsonRpcServerBase.cs 83.33% <0.00%> (ø)
src/JsonRpc/NoopResponseRouter.cs 0.00% <0.00%> (ø)
src/JsonRpc/Nullable/Attributes.cs 0.00% <0.00%> (ø)
src/Protocol/LanguageProtocolProxy.cs 68.42% <0.00%> (ø)
src/Protocol/Progress/ProgressManager.cs 44.11% <ø> (-11.77%) ⬇️
src/Dap.Shared/DapResponseRouter.cs 83.33% <100.00%> (-1.45%) ⬇️
src/Dap.Shared/HandlerDescriptor.cs 96.77% <100.00%> (-3.23%) ⬇️
src/JsonRpc/HandlerInstance.cs 96.55% <100.00%> (-0.23%) ⬇️
... and 171 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 085ef9c...9b70e3c. Read the comment docs.

@david-driscoll david-driscoll merged commit 95c4138 into master Aug 26, 2020
@github-actions github-actions bot added the mysterious We forgot to label this label Aug 26, 2020
@mergify mergify bot deleted the chore/nullability-alt branch August 26, 2020 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mysterious We forgot to label this
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant