Skip to content
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

[APPROVED]: Refactoring - break functions that are handling multiple storage types. #86

Merged
merged 1 commit into from
May 7, 2024

Conversation

carlosfelix
Copy link
Collaborator

No description provided.

@@ -319,15 +352,7 @@ function getStoredValue(submodule, key = undefined) {
if (storage.type === COOKIE) {
storedValue = mgr.getCookie(storedKey);

Choose a reason for hiding this comment

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

Optional: Even though it's just one line, it might be a good idea to extract the mgr.getCookie(storedKey) into a function getValueFromCookie in order to keep the abstraction level consistent. It could make further refactoring opportunities more apparent later on.

@macinjosh32 macinjosh32 changed the title Refactoring - break functions that are handling multiple storage types. [APPROVED]: Refactoring - break functions that are handling multiple storage types. May 7, 2024
@carlosfelix carlosfelix changed the base branch from master to id_multiple_storage_types May 7, 2024 17:48
@carlosfelix carlosfelix merged commit 3b335ba into id_multiple_storage_types May 7, 2024
2 checks passed
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.

2 participants