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

fix: Add Hash Methods where isEqual called #167

Merged

Conversation

BrandonStalnaker
Copy link
Contributor

Summary

All instances where isEqual: implemented should also implement hash

Testing Plan

Ran sample app and unit tests

Master Issue

Closes https://mparticle-eng.atlassian.net/browse/SQDSDKS-4834

@BrandonStalnaker BrandonStalnaker self-assigned this Nov 17, 2022
@BrandonStalnaker BrandonStalnaker force-pushed the fix/Add-Hash-Methods-Where-IsEqual-Called branch from 2165404 to 3239c48 Compare November 17, 2022 17:03
@BrandonStalnaker BrandonStalnaker changed the base branch from main to development November 17, 2022 17:04
@BrandonStalnaker BrandonStalnaker force-pushed the fix/Add-Hash-Methods-Where-IsEqual-Called branch from 3239c48 to fb8f354 Compare November 17, 2022 17:11
Copy link
Contributor

@einsteinx2 einsteinx2 left a comment

Choose a reason for hiding this comment

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

Looks good, just found 2 places to change, added change suggestions

mParticle-Apple-SDK/Data Model/MParticleUserNotification.m Outdated Show resolved Hide resolved
mParticle-Apple-SDK/Ecommerce/MPCommerceEvent.mm Outdated Show resolved Hide resolved
Copy link
Contributor

@einsteinx2 einsteinx2 left a comment

Choose a reason for hiding this comment

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

LGTM

@BrandonStalnaker BrandonStalnaker merged commit 5765f43 into development Nov 17, 2022
@BrandonStalnaker BrandonStalnaker deleted the fix/Add-Hash-Methods-Where-IsEqual-Called branch November 17, 2022 18:43
mparticle-automation added a commit that referenced this pull request Nov 30, 2022
# [8.9.0](v8.8.1...v8.9.0) (2022-11-30)

### Bug Fixes

* Add class checks to initialize methods ([#165](#165)) ([065df46](065df46))
* Add Hash Methods where isEqual called ([#167](#167)) ([7302e0d](7302e0d))
* Allow null event attributes ([#163](#163)) ([5fd25c6](5fd25c6))
* Move dyld register callback to initialize ([#170](#170)) ([49d3660](49d3660))
* Remove unnecessary calls to removeObserver ([#168](#168)) ([a288ba4](a288ba4))
* Remove Unnecessary Synchronize in Dealloc ([#169](#169)) ([624891b](624891b))

### Features

* match android type support for custom attributes ([#157](#157)) ([c9a34cd](c9a34cd))
* Remove depreciate MPSegment code ([#171](#171)) ([1c04262](1c04262))
* Update Sample App for iOS 16 ([#158](#158)) ([fed8131](fed8131))
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.

2 participants