-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: implement use case to get default conversation creation protocol (WPB-5475) #2521
feat: implement use case to get default conversation creation protocol (WPB-5475) #2521
Conversation
…l (WPB-5475) (#2519) * fix: add usecase to get default protocol * test: add tests for get default protocol usecase * fix: add get default protocol usecase to user session scope * fix: add mapping from SupportedProtocol to ConversationOptions.Protocol * fix: adjust detekt
Datadog ReportAll test runs ✅ 2 Total Test Services: 0 Failed, 2 Passed Test Services
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #2521 +/- ##
=============================================
- Coverage 58.36% 58.36% -0.01%
Complexity 21 21
=============================================
Files 1172 1173 +1
Lines 45353 45363 +10
Branches 4292 4293 +1
=============================================
+ Hits 26469 26474 +5
- Misses 16959 16963 +4
- Partials 1925 1926 +1
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
…l (WPB-5475) (#2521) * feat: implement use case to get default conversation creation protocol (WPB-5475) (#2519) * fix: add usecase to get default protocol * test: add tests for get default protocol usecase * fix: add get default protocol usecase to user session scope * fix: add mapping from SupportedProtocol to ConversationOptions.Protocol * fix: adjust detekt * empty trigger commit --------- Co-authored-by: Alexandre Ferris <[email protected]>
Cherry pick from the original PR:
PR Submission Checklist for internal contributors
The PR Title
The PR Description
What's new in this PR?
Issues
There was no way for getting the default protocol when creating a group.
Causes (Optional)
Not implemented.
Solutions
Create a usecase (
GetDefaultProtocolUseCase
) to get default protocol set by the team owner.Dependencies (Optional)
Needs releases with:
AR PR will follow as soon as this one is merged.
Testing
Test Coverage (Optional)
How to Test
Only tested in conjunction with AR, steps will be explained in AR PR.