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
Changing IAccount Interface to AccountInfo #1789
Conversation
Serializer needs to figure out how to implement swap and rename with strict type checks turned on.
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.
@@ -12,10 +13,11 @@ export class EntitySerializer { | |||
* @param key | |||
*/ | |||
static mapAccountKeys(accCache: AccountCache, key: string): object { |
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.
Some extra stuff in this file that I think is no longer needed (commented out)
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.
+1 for removing unneeded comments
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.
This is being fixed by @sameerag.
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.
2 comments, overall looks fine once those have been addressed
@@ -12,10 +13,11 @@ export class EntitySerializer { | |||
* @param key | |||
*/ | |||
static mapAccountKeys(accCache: AccountCache, key: string): object { |
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.
+1 for removing unneeded comments
…ureAD/microsoft-authentication-library-for-js into msal-common-account-interface
This PR changes the account object returned to the user from the IAccount interface to the AccountInfo type.
It also refactors the code to remove the CacheHelpers.ts file, and removes the
matches
logic from the CacheManager.ts file.