-
Notifications
You must be signed in to change notification settings - Fork 44
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
Initial attempt to refactor persistence #847
base: development
Are you sure you want to change the base?
Conversation
src/filteredMparticleUser.js
Outdated
@@ -67,10 +67,9 @@ export default function filteredMparticleUser( | |||
return userAttributesLists; | |||
}, | |||
getAllUserAttributes: function() { | |||
// TODO: May not need to make a copy since Store should return a copy |
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.
Note te self: we need this empty object to create a new subset of attributes for filtering.
src/identity.js
Outdated
// QUESTION: can we just use mpInstance._Store.setUserAttributes here? | ||
if (persistence && persistence[mpid]) { | ||
persistence[mpid].ua = userAttributes; | ||
// QUESTION: why is mpid an argument here when it's not in the signature? |
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.
Note to self: Defined in getCurrentUser
at the top of this nested block
c3e71d0
to
d2d6b82
Compare
0853bc2
to
dd1920f
Compare
6e7bb41
to
e2cd1b7
Compare
e2cd1b7
to
c366737
Compare
Quality Gate failedFailed conditions |
Instructions
development
Summary
Testing Plan
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)