-
Notifications
You must be signed in to change notification settings - Fork 72
feat: SDKE-61 Extract and test callback logic. Part 3 #397
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: SDKE-61 Extract and test callback logic. Part 3 #397
Conversation
- enable gather coverage in schema
- add mock for this protocol
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.
LGTM, just one typo to fix
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.
Seems good, I'm still a little unsure about all these abstractions but I'm assuming they'll pay off more in further PRs? In the next could you add comments to explain why these methods needed to be extracted and how it improves the codebase?
Thanks for the feedback! The rationale is already captured in the refactoring doc. Could you clarify what exactly feels unclear about these abstractions — is it why we extract exactly this methods, or something else? If it’s about that, I can highlight it more clearly in the refactoring guide or PR description. I’m asking because it’s better to capture this clearly in the documentation. |
# [8.39.0](v8.38.0...v8.39.0) (2025-09-18) ### Bug Fixes * Update Hashed Email Logic With Unassigned ([#401](#401)) ([c50b101](c50b101)) ### Features * SDKE-119 Create protocols for testability ([#402](#402)) ([12b636e](12b636e)) * SDKE-119 Create protocols for testability. Part 2 ([#403](#403)) ([6401e0c](6401e0c)) * SDKE-119 Create protocols for testability. Part 3 ([#404](#404)) ([9032458](9032458)) * SDKE-61 Extract and test callback logic. Part 1 ([#395](#395)) ([c3a7da9](c3a7da9)) * SDKE-61 Extract and test callback logic. Part 2 ([#396](#396)) ([2fb2490](2fb2490)) * SDKE-61 Extract and test callback logic. Part 3 ([#397](#397)) ([b6cd236](b6cd236)) * SDKE-61 Extract and test callback logic. Part 4 ([#398](#398)) ([3cf3c88](3cf3c88)) * SDKE-62 Refactor MPListenerController for Testability ([#400](#400)) ([cc843a5](cc843a5)) * SDKE-63-replace-logging-macros-with-swift-helpers ([#405](#405)) ([0ca4964](0ca4964)) * SDKE-64 Improve mParticle.m test coverage in swift ([#406](#406)) ([d4ef623](d4ef623)) * SDKE-64 Improve mParticle.m test coverage in swift 2 ([#407](#407)) ([b8d67ec](b8d67ec)) * SDKE-64 Improve mParticle.m test coverage in swift 3 ([#410](#410)) ([72a111c](72a111c))
🎉 This PR is included in version 8.39.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
This PR is second PR from the series. Previous #396
Testing Plan
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)