-
Notifications
You must be signed in to change notification settings - Fork 34
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
Refactor globalVars into a Separate Class for Improved Encapsulation #310
Conversation
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.
Looks fine to me. Thanks @Achal1607.
Perhaps @naren2605 may also review whether this is in line with his previous review. Thanks.
8c1fa77
to
820a952
Compare
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.
Thanks 👍
…rom namespace to class with appropriate getters and setters Refactored initialization of globalState and updated copyright of extension.ts address review comments
820a952
to
e7e5ad4
Compare
LGTM thanks @Achal1607 for making these changes |
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.
Thanks @Achal1607. LGTM 👍
This PR refactors the
globalVars
implementation to improve code structure and encapsulation:Moved
globalVars
fromextension.ts
to a Separate FileConverted from Namespace to Class with Getters and Setters
globalVars
is now a class with getter and setter methods, for better encapsulation and allowing controlled access and modification of global state.