-
Notifications
You must be signed in to change notification settings - Fork 57
Initial attempt to refactor persistence #847
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
base: development
Are you sure you want to change the base?
Conversation
src/filteredMparticleUser.js
Outdated
| 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
|
b6883b6 to
b8a1a8f
Compare
f03c5ed to
3df8d84
Compare
ca2b2d9 to
da03fea
Compare
905641c to
b16bdd2
Compare


Instructions
developmentSummary
Testing Plan
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)