-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feature/add error handler for callback #31
Feature/add error handler for callback #31
Conversation
Extension refreshCallback
Extension refresh callback
lib/src/main/java/growthbook/sdk/java/GBFeaturesRepository.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/growthbook/sdk/java/GBFeaturesRepository.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/growthbook/sdk/java/GBFeaturesRepository.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/growthbook/sdk/java/GBFeaturesRepository.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/growthbook/sdk/java/GBFeaturesRepository.java
Outdated
Show resolved
Hide resolved
lib/src/main/java/growthbook/sdk/java/GBFeaturesRepository.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality-wise seems good, but I left some grammar and style requests. See inline. Thanks!
Co-authored-by: Tina Holly <113377031+tinahollygb@users.noreply.github.com>
Thank you, I was glad to contribute) I added 2 more tests to check refresh callback. |
lib/src/test/java/growthbook/sdk/java/GBFeaturesRepositoryTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See inline comment but tests are still not accurately testing a real failure case scenario.
lib/src/test/java/growthbook/sdk/java/GBFeaturesRepositoryTest.java
Outdated
Show resolved
Hide resolved
lib/src/test/java/growthbook/sdk/java/GBFeaturesRepositoryTest.java
Outdated
Show resolved
Hide resolved
…dler-for-callback # Conflicts: # lib/src/main/java/growthbook/sdk/java/GBFeaturesRepository.java
Awesome, thanks for the contribution! 🚀 |
Glad to take part) |
Hello. We want to use client-side Growthbook service call metrics. But a handler made for succesfully calls only would like to add an error handler as well. Here's the pull request, it's not claims to be the best solution. Thank you)
Closes #32