Initial attempt to refactor persistence#847
Draft
alexs-mparticle wants to merge 6 commits intodevelopmentfrom
Draft
Initial attempt to refactor persistence#847alexs-mparticle wants to merge 6 commits intodevelopmentfrom
alexs-mparticle wants to merge 6 commits intodevelopmentfrom
Conversation
alexs-mparticle
commented
Mar 20, 2024
src/filteredMparticleUser.js
Outdated
| return userAttributesLists; | ||
| }, | ||
| getAllUserAttributes: function() { | ||
| // TODO: May not need to make a copy since Store should return a copy |
Collaborator
Author
There was a problem hiding this comment.
Note te self: we need this empty object to create a new subset of attributes for filtering.
alexs-mparticle
commented
Mar 20, 2024
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? |
Collaborator
Author
There was a problem hiding this comment.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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