Skip to content

updating cache merge strategy to support entity removal#44

Merged
SomkaPe merged 4 commits intodevfrom
somkape/cacheMerge
May 31, 2019
Merged

updating cache merge strategy to support entity removal#44
SomkaPe merged 4 commits intodevfrom
somkape/cacheMerge

Conversation

@SomkaPe
Copy link
Copy Markdown
Contributor

@SomkaPe SomkaPe commented May 30, 2019

No description provided.

@SomkaPe SomkaPe requested review from henrik-me and sangonzal May 30, 2019 22:19

private static void mergeRemovals(JsonObject old, JsonObject update, String parentKey) {
Set<String> msalEntities =
new HashSet<>(Arrays.asList("Account", "sds", "AccessToken", "RefreshToken", "IdToken", "AppMetadata"));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

sds [](start = 56, length = 3)

sorry for my ignorance. what is this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what is sds?

}
}

private static void mergeRemovals(JsonObject old, JsonObject update, String parentKey) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not seeing this being used? am I missing something?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

it is used in mergeJsonObjects function

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

where?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

removed

Copy link
Copy Markdown
Contributor

@henrik-me henrik-me left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Copy Markdown
Contributor

@sangonzal sangonzal left a comment

Choose a reason for hiding this comment

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

:shipit:

@SomkaPe SomkaPe merged commit a156f5a into dev May 31, 2019
@SomkaPe SomkaPe deleted the somkape/cacheMerge branch June 6, 2019 01:42
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.

3 participants