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

Add secondary constructor taking IHub to SentryOkHttpInterceptor. #1657

Merged
merged 3 commits into from
Aug 19, 2021

Conversation

maciejwalkowiak
Copy link
Contributor

📜 Description

Add secondary constructor taking IHub to SentryOkHttpInterceptor.

💡 Motivation and Context

For the sake of improving Java compatiblity when users want to set only IHub and skip BeforeSendCallback.
Fixes #1526

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

For the sake of improving Java compatiblity when users want to set only `IHub` and skip `BeforeSendCallback`.

Fixes #1526
Copy link
Contributor

@marandaneto marandaneto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maciejwalkowiak make api and changelog, other than that, LGTM

@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2021

Codecov Report

Merging #1657 (b3341f5) into main (d9f2498) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #1657   +/-   ##
=========================================
  Coverage     75.74%   75.74%           
  Complexity     2016     2016           
=========================================
  Files           206      206           
  Lines          7037     7037           
  Branches        699      699           
=========================================
  Hits           5330     5330           
  Misses         1369     1369           
  Partials        338      338           

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 d9f2498...b3341f5. Read the comment docs.

@maciejwalkowiak maciejwalkowiak merged commit 733f0e0 into main Aug 19, 2021
@maciejwalkowiak maciejwalkowiak deleted the okinterceptor-constructor branch August 19, 2021 07:09
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.

Better Java compatibility for SentryOkHttpInterceptor
3 participants